Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001597/0.001597, allocations: 108 kB / 15.61 MB, free: 152 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.001543/0.001543, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.624/1.624, allocations: 251.7 MB / 0.5092 GB, free: 3.156 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.001774/0.001774, allocations: 67.91 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5623, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.00392/0.5662, allocations: 1.222 MB / 0.7257 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.5678, allocations: 466.1 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.5678, allocations: 0 / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.5679, allocations: 3.938 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.5679, allocations: 8 kB / 0.7262 GB, free: 11.22 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/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.5688, allocations: 111.6 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.5689, allocations: 19.98 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.569, allocations: 7.984 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.569, allocations: 15.92 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.5691, allocations: 11.92 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.5691, allocations: 0 / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.5695, allocations: 99.84 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.5695, allocations: 11.98 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.5696, allocations: 11.94 kB / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.5699, allocations: 103.8 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5699, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5699, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.57, allocations: 3.938 kB / 0.7265 GB, free: 10.83 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.0006612/0.5706, allocations: 387 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5707, allocations: 15.97 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.5708, allocations: 0.9375 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.5709, allocations: 168.3 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.571, allocations: 4.375 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.571, allocations: 8.375 kB / 0.7271 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5712, allocations: 38.23 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5712, allocations: 192 / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5712, allocations: 3.938 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5713, allocations: 0 / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.5713, allocations: 4 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.5716, allocations: 161.7 kB / 0.7273 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.5718, allocations: 34.55 kB / 0.7273 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.5719, allocations: 16.86 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.5719, allocations: 0 / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.5722, allocations: 63.38 kB / 0.7274 GB, free: 9.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/0.5722, allocations: 0 / 0.7274 GB, free: 9.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003586/0.5725, allocations: 73.55 kB / 0.7275 GB, free: 9.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.5726, allocations: 59.41 kB / 0.7275 GB, free: 9.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5728, allocations: 105.8 kB / 0.7276 GB, free: 9.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5728, allocations: 25.7 kB / 0.7277 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.5729, allocations: 84.14 kB / 0.7277 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.5729, allocations: 7.906 kB / 0.7277 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.573, allocations: 21.7 kB / 0.7278 GB, free: 9.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5732, allocations: 314.8 kB / 0.7281 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.5732, allocations: 4 kB / 0.7281 GB, free: 9.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.5733, allocations: 39.42 kB / 0.7281 GB, free: 8.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/0.5734, allocations: 43.38 kB / 0.7281 GB, free: 8.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5735, allocations: 4 kB / 0.7281 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002057/0.5737, allocations: 77.7 kB / 0.7282 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5737, allocations: 15.92 kB / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5737, allocations: 0 / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.5738, allocations: 0 / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5739, allocations: 8 kB / 0.7282 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5739, allocations: 0 / 0.7282 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.574, allocations: 4 kB / 0.7282 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.574, allocations: 3.938 kB / 0.7283 GB, free: 8.816 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 0.0001233/0.5741, allocations: 117.8 kB / 0.7284 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.5742, allocations: 7.969 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.5742, allocations: 11.89 kB / 0.7284 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5743, allocations: 0 / 0.7284 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5743, allocations: 3.938 kB / 0.7284 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5743, allocations: 0 / 0.7284 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.5745, allocations: 157.6 kB / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.5745, allocations: 0 / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.5745, allocations: 7.938 kB / 0.7285 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.5746, allocations: 3.938 kB / 0.7285 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5746, allocations: 3.984 kB / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5746, allocations: 0 / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5746, allocations: 8.25 kB / 0.7286 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.5749, allocations: 77.12 kB / 0.7286 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.5749, allocations: 81.09 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.575, allocations: 11.94 kB / 0.7287 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.575, allocations: 4 kB / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.5751, allocations: 0 / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5751, allocations: 4 kB / 0.7287 GB, free: 8.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.5752, allocations: 87.27 kB / 0.7288 GB, free: 8.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5752, allocations: 0 / 0.7288 GB, free: 8.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004683/0.5757, allocations: 32 kB / 0.7288 GB, free: 8.105 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.0004759/0.5762, allocations: 158.5 kB / 0.729 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.5763, allocations: 31.97 kB / 0.729 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5764, allocations: 8.188 kB / 0.729 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.5764, allocations: 11.94 kB / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.5767, allocations: 14.06 kB / 0.7291 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.577, allocations: 120.1 kB / 0.7292 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5774, allocations: 0.6807 MB / 0.7298 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.5775, allocations: 7.984 kB / 0.7298 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.5775, allocations: 7.438 kB / 0.7299 GB, free: 7.027 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5775, allocations: 4 kB / 0.7299 GB, free: 7.023 MB / 0.545 GB Notification: Performance of Templates: time 0.006038/0.5836, allocations: 1.076 MB / 0.7309 GB, free: 5.949 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)