Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 293 MB / 309 MB, free: 4.824 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.000922/0.0009221, allocations: 172.6 kB / 378.7 MB, free: 1.035 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.495/1.495, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007182/0.0007182, allocations: 86.81 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6196/0.8465, allocations: 141.4 MB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.8468, allocations: 85.94 kB / 1.129 GB, free: 32.89 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.008559/0.8554, allocations: 3.267 MB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8554, allocations: 0 / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8554, allocations: 4 kB / 1.132 GB, free: 30.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004818/0.8559, allocations: 0.495 MB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.856, allocations: 8.031 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.856, allocations: 12.78 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.8561, allocations: 172.3 kB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.8561, allocations: 7.891 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.8562, allocations: 8.375 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.8563, allocations: 78.56 kB / 1.133 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8563, allocations: 1.359 kB / 1.133 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8564, allocations: 11.94 kB / 1.133 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8564, allocations: 0 / 1.133 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.8565, allocations: 54.11 kB / 1.133 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.8569, allocations: 337.8 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.8571, allocations: 86.16 kB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.8572, allocations: 48.17 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.8573, allocations: 4.266 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8574, allocations: 105.5 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.8575, allocations: 0 / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003567/0.8578, allocations: 178.8 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.8579, allocations: 58.88 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.8579, allocations: 133.3 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.858, allocations: 25.7 kB / 1.134 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.858, allocations: 95.42 kB / 1.134 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.858, allocations: 19.72 kB / 1.134 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.858, allocations: 4.562 kB / 1.134 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.8581, allocations: 322.2 kB / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.8582, allocations: 34.8 kB / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.8582, allocations: 78.14 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.8584, allocations: 109.3 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8584, allocations: 7.938 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002066/0.8586, allocations: 144.7 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8586, allocations: 4.094 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8587, allocations: 8.5 kB / 1.134 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.8587, allocations: 0 / 1.134 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.8588, allocations: 17.11 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8588, allocations: 4.547 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.8589, allocations: 16.58 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.8589, allocations: 8 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.9e-05/0.859, allocations: 133.3 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.859, allocations: 7.906 kB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.8593, allocations: 163.4 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8593, allocations: 4 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8593, allocations: 1.438 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8593, allocations: 0 / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.8598, allocations: 451.2 kB / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8598, allocations: 0 / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.8599, allocations: 15.56 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8599, allocations: 7.938 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.8599, allocations: 1.469 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8599, allocations: 3.516 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8599, allocations: 4 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.8602, allocations: 248.7 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.8602, allocations: 92.42 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.8602, allocations: 1.031 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8603, allocations: 16.25 kB / 1.135 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.8604, allocations: 16.02 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8604, allocations: 4 kB / 1.135 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.8604, allocations: 102.4 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8605, allocations: 0 / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002973/0.8608, allocations: 55.94 kB / 1.136 GB, free: 26.52 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003025/0.8611, allocations: 179.5 kB / 1.136 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.8613, allocations: 95.05 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8613, allocations: 0 / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.8614, allocations: 57.38 kB / 1.136 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.8617, allocations: 21.02 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.8621, allocations: 243.2 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.8622, allocations: 0.7025 MB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.8623, allocations: 7.859 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.8623, allocations: 19.44 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.8623, allocations: 0 / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.004615/0.8669, allocations: 1.946 MB / 1.139 GB, free: 24.18 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)