Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 293 MB / 309 MB, free: 4.801 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.00111/0.00111, allocations: 170.7 kB / 378.7 MB, free: 1.02 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.537/1.537, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0009233/0.0009233, allocations: 92.81 kB / 0.7527 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004668, allocations: 15.98 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6216/0.8638, allocations: 141.3 MB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.864, allocations: 87 kB / 1.128 GB, free: 32.93 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.008178/0.8722, allocations: 3.17 MB / 1.132 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8722, allocations: 0 / 1.132 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.8722, allocations: 3.938 kB / 1.132 GB, free: 30.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000522/0.8728, allocations: 481.5 kB / 1.132 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8728, allocations: 8.031 kB / 1.132 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.8729, allocations: 9.344 kB / 1.132 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.873, allocations: 180.4 kB / 1.132 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.873, allocations: 34.27 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.8731, allocations: 7.797 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.8732, allocations: 83.8 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8733, allocations: 3.938 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8733, allocations: 0 / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.8733, allocations: 0.5625 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.8735, allocations: 54.27 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.874, allocations: 337.3 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.8741, allocations: 77.02 kB / 1.133 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.8742, allocations: 44.98 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.8743, allocations: 0 / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.8744, allocations: 97.67 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.8745, allocations: 0.9375 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004029/0.8749, allocations: 171.1 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.8749, allocations: 55.41 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.875, allocations: 138.8 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.875, allocations: 29.7 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.8751, allocations: 100.2 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.8751, allocations: 27.42 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.8751, allocations: 0.75 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.8752, allocations: 326.2 kB / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.8753, allocations: 30.84 kB / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.8754, allocations: 71.91 kB / 1.134 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.8756, allocations: 111.9 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8756, allocations: 0 / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000249/0.8758, allocations: 146.1 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.8759, allocations: 6.031 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8759, allocations: 1.031 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8759, allocations: 5.266 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.876, allocations: 23.44 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.876, allocations: 3.234 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.557e-05/0.8761, allocations: 15.33 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8761, allocations: 8 kB / 1.134 GB, free: 27.95 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.113e-05/0.8762, allocations: 125.7 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.8762, allocations: 7.906 kB / 1.134 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.8763, allocations: 16.28 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8763, allocations: 4.812 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8763, allocations: 0 / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8763, allocations: 0.8438 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.8768, allocations: 435.4 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8768, allocations: 0 / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.8768, allocations: 12.92 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8769, allocations: 0 / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.8769, allocations: 3.797 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8769, allocations: 4 kB / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8769, allocations: 4.5 kB / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.8772, allocations: 233 kB / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.8772, allocations: 85.72 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.8772, allocations: 0.7031 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.8774, allocations: 19.8 kB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.8774, allocations: 15.19 kB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.8775, allocations: 9.828 kB / 1.135 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.8775, allocations: 104.9 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8775, allocations: 0 / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002933/0.8778, allocations: 53.72 kB / 1.135 GB, free: 26.84 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.000325/0.8782, allocations: 165.4 kB / 1.135 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.8784, allocations: 94.38 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8785, allocations: 0 / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.8786, allocations: 50.48 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.8789, allocations: 17.28 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.8793, allocations: 223.3 kB / 1.136 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.8794, allocations: 0.7065 MB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.8795, allocations: 5.562 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.8795, allocations: 23.7 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.8795, allocations: 0 / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004293/0.8838, allocations: 1.791 MB / 1.138 GB, free: 24.62 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)