Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 167.3 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008196, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6334/0.8753, allocations: 139.3 MB / 1.127 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.8756, allocations: 67.48 kB / 1.127 GB, free: 34.48 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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 FrontEnd - DAE generated: time 0.005745/0.8814, allocations: 2.318 MB / 1.129 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8814, allocations: 0 / 1.129 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.8814, allocations: 0 / 1.129 GB, free: 32.79 MB / 0.7292 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.0003344/0.8817, allocations: 398.1 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8818, allocations: 12.03 kB / 1.129 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.8818, allocations: 4.875 kB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.8819, allocations: 168.2 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8819, allocations: 384 / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.882, allocations: 4.375 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.8821, allocations: 42.42 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8821, allocations: 192 / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.8821, allocations: 3.938 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8821, allocations: 0 / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.716e-05/0.8821, allocations: 7.938 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.8823, allocations: 163.1 kB / 1.13 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.8824, allocations: 27.33 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.8824, allocations: 21.59 kB / 1.13 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.8824, allocations: 4 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.8825, allocations: 58.58 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.8825, allocations: 0 / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001859/0.8827, allocations: 66.05 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.8828, allocations: 54.97 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.8828, allocations: 106 kB / 1.13 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.8828, allocations: 30.27 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.8829, allocations: 88.14 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.8829, allocations: 3.906 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.8829, allocations: 0 / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.883, allocations: 322.4 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.883, allocations: 4 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.883, allocations: 40.47 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.8831, allocations: 44.28 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8831, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.512e-05/0.8832, allocations: 73.05 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.8832, allocations: 7.938 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8832, allocations: 3.562 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8832, allocations: 8.094 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.8833, allocations: 4.562 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8833, allocations: 1.031 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.8833, allocations: 7.938 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.8833, allocations: 7.938 kB / 1.131 GB, free: 30.87 MB / 0.7292 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.8834, allocations: 119 kB / 1.131 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.8834, allocations: 15.41 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.8835, allocations: 5.547 kB / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8835, allocations: 0 / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8835, allocations: 4 kB / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8835, allocations: 0 / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.876e-05/0.8836, allocations: 161.7 kB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8836, allocations: 0 / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.8836, allocations: 5.203 kB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8836, allocations: 3.938 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.8836, allocations: 0 / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8836, allocations: 4 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8836, allocations: 0 / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.8838, allocations: 84.03 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.8838, allocations: 77.11 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.8838, allocations: 8.625 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.8838, allocations: 7.938 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.8839, allocations: 6.656 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.8839, allocations: 4 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.8839, allocations: 80.34 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8839, allocations: 0 / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002687/0.8842, allocations: 55.34 kB / 1.131 GB, free: 30.17 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000363/0.8846, allocations: 174.6 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.8847, allocations: 27.45 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8847, allocations: 0 / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.8847, allocations: 8.891 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8849, allocations: 8.75 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.8851, allocations: 124.3 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.8853, allocations: 0.6805 MB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.8853, allocations: 0 / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.8853, allocations: 11.44 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8853, allocations: 0 / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.003484/0.8888, allocations: 1.223 MB / 1.133 GB, free: 28.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)