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.006042/0.006042, allocations: 103 kB / 15.73 MB, free: 6.051 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.001184/0.001184, allocations: 193 kB / 16.67 MB, free: 5.98 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.588/1.588, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.00144/0.00144, allocations: 74.08 kB / 0.7257 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.239, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002468/0.2415, allocations: 1.226 MB / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.2425, allocations: 459.7 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2425, allocations: 7.938 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.2426, allocations: 0 / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.2426, allocations: 3.938 kB / 0.8297 GB, free: 14.52 MB / 0.6544 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.0006382/0.2433, allocations: 115.6 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.2433, allocations: 27.86 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.2434, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.2434, allocations: 7.984 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.2435, allocations: 19.86 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2435, allocations: 4 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2437, allocations: 103.8 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.2438, allocations: 4 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.2438, allocations: 11.92 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.244, allocations: 99.81 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.244, allocations: 0 / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.244, allocations: 4 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.244, allocations: 0 / 0.83 GB, free: 14.13 MB / 0.6544 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.0006256/0.2447, allocations: 389 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2447, allocations: 8.031 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.2448, allocations: 4.844 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2449, allocations: 168.4 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2449, allocations: 384 / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.245, allocations: 4.375 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.2451, allocations: 46.23 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2451, allocations: 4.125 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2451, allocations: 3.938 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.2451, allocations: 0 / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.2452, allocations: 7.984 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.2455, allocations: 157.7 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.2456, allocations: 34.56 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.2456, allocations: 12.86 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2456, allocations: 4 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.2458, allocations: 59.42 kB / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.2458, allocations: 0 / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002323/0.246, allocations: 73.53 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2461, allocations: 51.41 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.2462, allocations: 109.8 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2462, allocations: 29.7 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.2463, allocations: 88.12 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.2463, allocations: 11.89 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.2463, allocations: 17.72 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2465, allocations: 314.8 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.2465, allocations: 11.98 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.2465, allocations: 31.38 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.2466, allocations: 55.36 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2466, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.826e-05/0.2467, allocations: 69.53 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2468, allocations: 7.938 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2468, allocations: 96 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2468, allocations: 8 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.2469, allocations: 15.86 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2469, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.2469, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2469, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 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.68e-05/0.247, allocations: 113.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.247, allocations: 7.938 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.2471, allocations: 3.906 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2471, allocations: 4.234 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2471, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2471, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2472, allocations: 165.6 kB / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2472, allocations: 0 / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.2473, allocations: 0 / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2473, allocations: 3.938 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2473, allocations: 4 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2473, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2473, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2474, allocations: 92.95 kB / 0.8321 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.2475, allocations: 81.11 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2475, allocations: 3.938 kB / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.2475, allocations: 256 / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.2476, allocations: 7.984 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2476, allocations: 8 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.2476, allocations: 79.28 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2476, allocations: 0 / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002405/0.2479, allocations: 39.92 kB / 0.8324 GB, free: 11.4 MB / 0.6544 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.0003774/0.2483, allocations: 154.1 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.2484, allocations: 39.86 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2484, allocations: 0 / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.2484, allocations: 8 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2486, allocations: 12.11 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2489, allocations: 120.8 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2493, allocations: 0.6844 MB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.2493, allocations: 0 / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.2493, allocations: 11.44 kB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.2493, allocations: 0 / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.003506/0.2529, allocations: 1.079 MB / 0.8344 GB, free: 9.25 MB / 0.6544 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)