Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.61 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2435, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002849/0.2464, allocations: 1.301 MB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.2473, allocations: 464.4 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.2474, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.2474, allocations: 3.938 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.2475, allocations: 4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.2481, allocations: 91.78 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.2482, allocations: 23.92 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2482, allocations: 0 / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.2483, allocations: 15.98 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.2483, allocations: 3.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2483, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2485, allocations: 107.8 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2486, allocations: 7.922 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.2486, allocations: 15.92 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2488, allocations: 99.81 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2488, allocations: 0 / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2488, allocations: 0 / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2488, allocations: 0 / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004909/0.2493, allocations: 385.4 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2493, allocations: 12.02 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.2494, allocations: 4.938 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2495, allocations: 164.3 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2495, allocations: 4.375 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2495, allocations: 8.375 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2496, allocations: 34.25 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2497, allocations: 4.125 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2497, allocations: 3.938 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2497, allocations: 7.984 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.2497, allocations: 0 / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.2499, allocations: 161.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.25, allocations: 30.61 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.25, allocations: 12.86 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.25, allocations: 0 / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.2502, allocations: 59.42 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2502, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.2504, allocations: 73.61 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2505, allocations: 51.41 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.2506, allocations: 109.8 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2506, allocations: 33.62 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.2506, allocations: 84.14 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2506, allocations: 11.84 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.2507, allocations: 17.72 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2508, allocations: 326.8 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.2508, allocations: 4 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.2509, allocations: 43.36 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.2509, allocations: 43.38 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2509, allocations: 0 / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.722e-05/0.251, allocations: 65.62 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2511, allocations: 12.03 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2511, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2511, allocations: 4.234 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.2512, allocations: 7.984 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2512, allocations: 4 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.2512, allocations: 3.906 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2512, allocations: 4 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.702e-05/0.2513, allocations: 117.8 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.2513, allocations: 11.92 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.2514, allocations: 7.906 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2514, allocations: 3.984 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2514, allocations: 256 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2514, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2515, allocations: 165.7 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2515, allocations: 0 / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.2515, allocations: 0 / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2515, allocations: 3.938 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2516, allocations: 4 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2516, allocations: 0 / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2516, allocations: 0 / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.2517, allocations: 93.05 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.2517, allocations: 85.02 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2518, allocations: 3.938 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.2518, allocations: 3.984 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.2518, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2518, allocations: 7.938 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.2519, allocations: 83.28 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2519, allocations: 4 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.2521, allocations: 31.98 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002963/0.2524, allocations: 160.3 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2526, allocations: 31.97 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2526, allocations: 192 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.2526, allocations: 24.06 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2528, allocations: 3.938 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.253, allocations: 112.9 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2532, allocations: 0.6807 MB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.2533, allocations: 0 / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.2533, allocations: 11.44 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2533, allocations: 4 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.003084/0.2564, allocations: 1.083 MB / 0.7893 GB, free: 6.902 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)