Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.627/1.627, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 251.7 MB / 0.5092 GB, free: 3.117 MB / 414.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.001637/0.001638, allocations: 71.89 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.555, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002227/0.5572, allocations: 1.218 MB / 0.7257 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.5582, allocations: 446.2 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.5582, allocations: 4 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5582, allocations: 0 / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.5583, allocations: 3.938 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/logit1D.mo:2:1-32:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.5589, allocations: 109.5 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.559, allocations: 19.92 kB / 0.7262 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.5591, allocations: 4 kB / 0.7262 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.5591, allocations: 7.938 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.5592, allocations: 3.984 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.5592, allocations: 8 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.5594, allocations: 95.91 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.5594, allocations: 11.92 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.5595, allocations: 7.984 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.5597, allocations: 99.75 kB / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5597, allocations: 0 / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5597, allocations: 3.938 kB / 0.7265 GB, free: 10.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5597, allocations: 0 / 0.7265 GB, free: 10.89 MB / 0.545 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.0005088/0.5602, allocations: 379.1 kB / 0.7268 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5603, allocations: 16.03 kB / 0.7268 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.5603, allocations: 0.9375 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.5604, allocations: 168.3 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5605, allocations: 4.375 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.5605, allocations: 4.375 kB / 0.727 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.5606, allocations: 38.25 kB / 0.7271 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5606, allocations: 192 / 0.7271 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5606, allocations: 7.922 kB / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5607, allocations: 0 / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.5607, allocations: 7.938 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.5609, allocations: 161.6 kB / 0.7272 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.54e-05/0.561, allocations: 34.61 kB / 0.7273 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.561, allocations: 12.86 kB / 0.7273 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.561, allocations: 0 / 0.7273 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.5612, allocations: 55.48 kB / 0.7273 GB, free: 9.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5612, allocations: 4 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.5614, allocations: 73.55 kB / 0.7274 GB, free: 9.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5614, allocations: 59.39 kB / 0.7275 GB, free: 9.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.5615, allocations: 97.86 kB / 0.7275 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5616, allocations: 25.7 kB / 0.7276 GB, free: 9.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.5616, allocations: 84.14 kB / 0.7277 GB, free: 9.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.5616, allocations: 15.8 kB / 0.7277 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.5617, allocations: 17.72 kB / 0.7277 GB, free: 9.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5618, allocations: 318.8 kB / 0.728 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.5618, allocations: 11.98 kB / 0.728 GB, free: 9.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.5618, allocations: 31.42 kB / 0.728 GB, free: 9.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.5619, allocations: 51.36 kB / 0.7281 GB, free: 9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5619, allocations: 0 / 0.7281 GB, free: 9 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.742e-05/0.562, allocations: 69.56 kB / 0.7281 GB, free: 8.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5621, allocations: 7.938 kB / 0.7282 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5621, allocations: 0 / 0.7282 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5621, allocations: 4 kB / 0.7282 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.5622, allocations: 4 kB / 0.7282 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5622, allocations: 4 kB / 0.7282 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.5622, allocations: 7.922 kB / 0.7282 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5622, allocations: 12.09 kB / 0.7282 GB, free: 8.887 MB / 0.545 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 7.948e-05/0.5623, allocations: 105.8 kB / 0.7283 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.5623, allocations: 19.78 kB / 0.7283 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.5624, allocations: 7.5 kB / 0.7283 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5624, allocations: 3.938 kB / 0.7283 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5624, allocations: 0 / 0.7283 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5624, allocations: 0 / 0.7283 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.5625, allocations: 149.7 kB / 0.7285 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5625, allocations: 4 kB / 0.7285 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.5625, allocations: 7.984 kB / 0.7285 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5625, allocations: 3.938 kB / 0.7285 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.5626, allocations: 0 / 0.7285 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5626, allocations: 0 / 0.7285 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5626, allocations: 4 kB / 0.7285 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.5627, allocations: 81.11 kB / 0.7286 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.5627, allocations: 85.05 kB / 0.7286 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.5628, allocations: 3.938 kB / 0.7286 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.5628, allocations: 8 kB / 0.7286 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.5628, allocations: 0 / 0.7286 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.5628, allocations: 0 / 0.7286 GB, free: 8.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.5629, allocations: 87.67 kB / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5629, allocations: 0 / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000243/0.5631, allocations: 32 kB / 0.7288 GB, free: 8.195 MB / 0.545 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.0003027/0.5634, allocations: 162.5 kB / 0.7289 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5635, allocations: 35.91 kB / 0.7289 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5636, allocations: 0 / 0.7289 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.5636, allocations: 15.88 kB / 0.729 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5637, allocations: 8 kB / 0.729 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.564, allocations: 108.7 kB / 0.7291 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5642, allocations: 0.6848 MB / 0.7297 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.5642, allocations: 0 / 0.7297 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.5643, allocations: 11.44 kB / 0.7298 GB, free: 7.125 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5643, allocations: 0 / 0.7298 GB, free: 7.125 MB / 0.545 GB Notification: Performance of Templates: time 0.003397/0.5677, allocations: 1.049 MB / 0.7308 GB, free: 6.078 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)