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.786/1.786, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001133/0.001133, allocations: 181.7 kB / 371.6 MB, free: 3.418 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.719/1.719, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009009/0.0009006, allocations: 90.41 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.7e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.296, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.893/1.189, allocations: 141.2 MB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.189, allocations: 82.94 kB / 1.118 GB, free: 42.94 MB / 0.7448 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.008824/1.198, allocations: 3.317 MB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/1.198, allocations: 0 / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.198, allocations: 0 / 1.121 GB, free: 41.03 MB / 0.7448 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.0005024/1.199, allocations: 488.6 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.199, allocations: 8.031 kB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/1.199, allocations: 10.56 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.199, allocations: 186.5 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.199, allocations: 7.938 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.199, allocations: 8.875 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.199, allocations: 71.67 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.199, allocations: 0 / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.199, allocations: 3.75 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.199, allocations: 0 / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/1.199, allocations: 42.52 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/1.2, allocations: 344.9 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/1.2, allocations: 70.36 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/1.2, allocations: 35.95 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/1.2, allocations: 0 / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/1.2, allocations: 105.7 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/1.2, allocations: 0.6562 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002504/1.201, allocations: 126.8 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.201, allocations: 55.41 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/1.201, allocations: 126.3 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.201, allocations: 29.64 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/1.201, allocations: 98.91 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/1.201, allocations: 35.09 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/1.201, allocations: 5.125 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.336e-05/1.201, allocations: 322.2 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/1.201, allocations: 23.75 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/1.201, allocations: 68.14 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/1.201, allocations: 31.19 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.201, allocations: 0 / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001583/1.201, allocations: 126.8 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.201, allocations: 4 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.201, allocations: 4.703 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.201, allocations: 3.953 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.201, allocations: 23.34 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.201, allocations: 8.094 kB / 1.123 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/1.202, allocations: 16.34 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/1.202, allocations: 11.28 kB / 1.123 GB, free: 38.72 MB / 0.7448 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 () * 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 5.878e-05/1.202, allocations: 109.8 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/1.202, allocations: 8.469 kB / 1.124 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/1.202, allocations: 166.1 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.202, allocations: 8 kB / 1.124 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.202, allocations: 3.953 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.202, allocations: 3.328 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/1.202, allocations: 449.9 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.202, allocations: 0 / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/1.202, allocations: 15.33 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.202, allocations: 3.953 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.203, allocations: 5.062 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.203, allocations: 4 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.203, allocations: 0.6562 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/1.203, allocations: 236.7 kB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/1.203, allocations: 85.02 kB / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.203, allocations: 11.23 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/1.203, allocations: 15.94 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.203, allocations: 10.75 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.203, allocations: 5.375 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.51e-05/1.203, allocations: 108.7 kB / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.203, allocations: 0 / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002841/1.203, allocations: 63.25 kB / 1.125 GB, free: 37.58 MB / 0.7448 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) * 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.0003596/1.204, allocations: 179.8 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001773/1.204, allocations: 88.39 kB / 1.125 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.204, allocations: 0 / 1.125 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/1.204, allocations: 46.88 kB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/1.204, allocations: 15.3 kB / 1.125 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/1.205, allocations: 157.5 kB / 1.125 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/1.205, allocations: 0.702 MB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.986e-05/1.205, allocations: 11.98 kB / 1.126 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/1.205, allocations: 12.47 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.205, allocations: 0 / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of Templates: time 0.00426/1.209, allocations: 2.008 MB / 1.128 GB, free: 35.37 MB / 0.7448 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)