Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001119/0.001119, allocations: 189 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.53/1.53, 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.0008485/0.0008485, allocations: 99.86 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2836, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7616/1.045, allocations: 141.2 MB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.046, allocations: 83.62 kB / 1.126 GB, free: 33.89 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.008912/1.055, allocations: 3.175 MB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.544e-06/1.055, allocations: 0 / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.055, allocations: 0 / 1.129 GB, free: 31.61 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.000598/1.055, allocations: 481.2 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.055, allocations: 8.031 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/1.055, allocations: 9.969 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.055, allocations: 172.2 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.055, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.055, allocations: 14.86 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/1.056, allocations: 71.23 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.056, allocations: 4 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.056, allocations: 8 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.056, allocations: 0.9375 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/1.056, allocations: 39.59 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/1.056, allocations: 334.9 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/1.057, allocations: 70.16 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/1.057, allocations: 160 / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/1.057, allocations: 93.98 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/1.057, allocations: 0 / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004081/1.057, allocations: 171.5 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.057, allocations: 51.41 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/1.057, allocations: 115.9 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/1.057, allocations: 37.64 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/1.057, allocations: 93.12 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.057, allocations: 19.23 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/1.057, allocations: 0 / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.057, allocations: 326.2 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/1.058, allocations: 27.47 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/1.058, allocations: 72.14 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/1.058, allocations: 31.42 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.058, allocations: 0 / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002054/1.058, allocations: 131.7 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.058, allocations: 8.562 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.058, allocations: 3.938 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.058, allocations: 4 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.058, allocations: 24.09 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/1.058, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/1.058, allocations: 23.27 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/1.058, allocations: 4.844 kB / 1.132 GB, free: 29.14 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 7.934e-05/1.058, allocations: 134 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/1.058, allocations: 7.906 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/1.059, allocations: 146.5 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.059, allocations: 0 / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.059, allocations: 0.5 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.059, allocations: 0 / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/1.059, allocations: 440.2 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.059, allocations: 0.5 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/1.059, allocations: 12.17 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.059, allocations: 4 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.059, allocations: 8.688 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.059, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.059, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/1.06, allocations: 233.9 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/1.06, allocations: 88.3 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/1.06, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/1.06, allocations: 20.97 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/1.06, allocations: 11.42 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/1.06, allocations: 0 / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.933e-05/1.06, allocations: 105.6 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.06, allocations: 0 / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003084/1.06, allocations: 55.88 kB / 1.133 GB, free: 27.9 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 (12): * Single equations (assignments): 9 * 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.0003536/1.061, allocations: 180.8 kB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.061, allocations: 91.81 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.061, allocations: 0 / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/1.061, allocations: 51.19 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.061, allocations: 8.688 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/1.061, allocations: 233.5 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/1.062, allocations: 0.6986 MB / 1.134 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.616e-05/1.062, allocations: 11.91 kB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/1.062, allocations: 15.44 kB / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.062, allocations: 0 / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.004323/1.066, allocations: 1.802 MB / 1.136 GB, free: 25.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)