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.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.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.4-maint.8.1.x/package.mo): time 1.498/1.498, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.0009569/0.0009569, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.29/1.29, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008151/0.0008151, allocations: 82.77 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.727e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6004, allocations: 116.3 MB / 0.9732 GB, free: 76.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.7697, allocations: 140.4 MB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.77, allocations: 84.55 kB / 1.11 GB, free: 9.719 MB / 0.7136 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.009031/0.7791, allocations: 3.126 MB / 1.114 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7791, allocations: 3.156 kB / 1.114 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7791, allocations: 0 / 1.114 GB, free: 6.629 MB / 0.7136 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.0005817/0.7797, allocations: 468.1 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7797, allocations: 9.312 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.7798, allocations: 7.906 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7799, allocations: 186.8 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.78, allocations: 31.8 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.78, allocations: 4 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.7802, allocations: 31.98 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.7803, allocations: 65.59 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7803, allocations: 0 / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.7803, allocations: 3.984 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.7803, allocations: 0.9062 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.7809, allocations: 308.1 kB / 1.115 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/0.781, allocations: 55.69 kB / 1.115 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.7811, allocations: 29.67 kB / 1.115 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.7811, allocations: 4 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.7813, allocations: 84 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.7813, allocations: 0 / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002661/0.7815, allocations: 115.7 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.7816, allocations: 55.41 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.7817, allocations: 117.2 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.7817, allocations: 29.64 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.7818, allocations: 96.38 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.7818, allocations: 27.84 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.7818, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7819, allocations: 322.8 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.782, allocations: 20 kB / 1.116 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.782, allocations: 55.28 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.7821, allocations: 31.92 kB / 1.116 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7821, allocations: 0 / 1.116 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001658/0.7823, allocations: 105.5 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7823, allocations: 8 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7823, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7823, allocations: 4 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.7825, allocations: 24.05 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7825, allocations: 0 / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7826, allocations: 19.92 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.7826, allocations: 4 kB / 1.116 GB, free: 4.125 MB / 0.7136 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 () * 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.932e-05/0.7827, allocations: 116.9 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.7827, allocations: 7.906 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.7828, allocations: 12.62 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7828, allocations: 5.938 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7828, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7828, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.7832, allocations: 383.7 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7833, allocations: 0 / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.7833, allocations: 15.98 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7834, allocations: 1.875 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7834, allocations: 0 / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7834, allocations: 2.422 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.7834, allocations: 4 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.7836, allocations: 207.3 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.7837, allocations: 81.02 kB / 1.117 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.7837, allocations: 7.984 kB / 1.117 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.7838, allocations: 12.09 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7839, allocations: 23.45 kB / 1.117 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7839, allocations: 4 kB / 1.117 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.784, allocations: 96.75 kB / 1.117 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.784, allocations: 4 kB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002928/0.7843, allocations: 51.31 kB / 1.117 GB, free: 3.039 MB / 0.7136 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) * 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.0003543/0.7846, allocations: 165.7 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.7848, allocations: 63.92 kB / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7848, allocations: 0 / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.7849, allocations: 43.92 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.7851, allocations: 20.19 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.7854, allocations: 120.3 kB / 1.117 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.7856, allocations: 0.6963 MB / 1.118 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.7857, allocations: 8.672 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.7857, allocations: 19.42 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7857, allocations: 0 / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of Templates: time 0.003902/0.7896, allocations: 1.758 MB / 1.12 GB, free: 152 kB / 0.7136 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)