Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001158/0.001158, allocations: 193 kB / 377.1 MB, free: 1.527 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.736/1.736, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0009414/0.0009414, allocations: 90.75 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2816, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7502/1.032, allocations: 141.3 MB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.032, allocations: 86.91 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.009832/1.042, allocations: 3.334 MB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.527e-06/1.042, allocations: 7.422 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.042, allocations: 0 / 1.13 GB, free: 31.37 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.0006674/1.043, allocations: 0.503 MB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.043, allocations: 8.031 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/1.043, allocations: 13.97 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.043, allocations: 186.5 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.043, allocations: 8 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/1.043, allocations: 4 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/1.043, allocations: 82.48 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.043, allocations: 0 / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.043, allocations: 0 / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.043, allocations: 4 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/1.044, allocations: 58.2 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/1.044, allocations: 327.4 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/1.044, allocations: 81.3 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/1.044, allocations: 11.94 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/1.045, allocations: 92.77 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/1.045, allocations: 0 / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004233/1.045, allocations: 186.7 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.045, allocations: 59.36 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/1.045, allocations: 125.8 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.045, allocations: 34.2 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/1.045, allocations: 99.84 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/1.045, allocations: 23.72 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.045, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.045, allocations: 326.5 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/1.045, allocations: 31.08 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/1.046, allocations: 74.7 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/1.046, allocations: 40.45 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.046, allocations: 4 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002345/1.046, allocations: 137.2 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.046, allocations: 4 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.046, allocations: 0 / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.046, allocations: 11.66 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.046, allocations: 27.97 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.046, allocations: 8.953 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.046, allocations: 11.47 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.046, allocations: 4.844 kB / 1.132 GB, free: 28.78 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 8.369e-05/1.046, allocations: 125.8 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/1.046, allocations: 11.91 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/1.047, allocations: 179.4 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.047, allocations: 0 / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.047, allocations: 3.953 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.047, allocations: 0 / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/1.047, allocations: 469.8 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.047, allocations: 0 / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/1.047, allocations: 20.12 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.047, allocations: 0 / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.047, allocations: 8.031 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.047, allocations: 0 / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.047, allocations: 4 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/1.048, allocations: 253.4 kB / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/1.048, allocations: 91.06 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/1.048, allocations: 4.625 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.048, allocations: 15.38 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/1.048, allocations: 11.47 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.048, allocations: 12 kB / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.329e-05/1.048, allocations: 104.1 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.048, allocations: 1.031 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000322/1.048, allocations: 59.5 kB / 1.134 GB, free: 27.46 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 (14): * Single equations (assignments): 11 * 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.0003852/1.049, allocations: 173.4 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002792/1.049, allocations: 97.7 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.049, allocations: 4 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.049, allocations: 50.94 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/1.049, allocations: 21.34 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/1.05, allocations: 264.1 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/1.05, allocations: 0.7099 MB / 1.135 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.068e-05/1.05, allocations: 7.984 kB / 1.135 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/1.05, allocations: 18.77 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.05, allocations: 0 / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.00564/1.056, allocations: 1.992 MB / 1.137 GB, free: 25.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)