Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 285.4 MB / 298 MB, free: 6.027 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.001144/0.001143, allocations: 176.8 kB / 366.4 MB, free: 2.078 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.533/1.533, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0007721/0.0007723, allocations: 101.9 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.499e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7605, allocations: 115.3 MB / 0.9709 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.9664, allocations: 140.1 MB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.9667, allocations: 81.69 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.00931/0.976, allocations: 3.137 MB / 1.111 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.976, allocations: 0 / 1.111 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.976, allocations: 0 / 1.111 GB, free: 8.461 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.0006567/0.9767, allocations: 464.1 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9768, allocations: 12.03 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.9768, allocations: 12.77 kB / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.977, allocations: 174.9 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.9771, allocations: 44.3 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.9772, allocations: 4 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.9774, allocations: 65.66 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9774, allocations: 0 / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.9774, allocations: 0 / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.9774, allocations: 4 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.9775, allocations: 34.42 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.9783, allocations: 333.5 kB / 1.112 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.9784, allocations: 58.56 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.9785, allocations: 31.3 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.9785, allocations: 8.125 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.9787, allocations: 91.41 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.9787, allocations: 3.5 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002922/0.979, allocations: 112.7 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.9791, allocations: 59.36 kB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9792, allocations: 121.2 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.9792, allocations: 33.69 kB / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.9793, allocations: 92.31 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.9793, allocations: 19.72 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.9793, allocations: 4 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9795, allocations: 326.8 kB / 1.113 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.9795, allocations: 20 kB / 1.113 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.9796, allocations: 62.89 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.9797, allocations: 31.97 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9797, allocations: 3.938 kB / 1.113 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002016/0.9799, allocations: 117.4 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9799, allocations: 4 kB / 1.113 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.98, allocations: 4 kB / 1.113 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.98, allocations: 0 / 1.113 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.9801, allocations: 19.98 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9801, allocations: 4.125 kB / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.9802, allocations: 23.88 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.9803, allocations: 9.5 kB / 1.113 GB, free: 5.867 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 8.532e-05/0.9804, allocations: 112.9 kB / 1.113 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.9804, allocations: 11.89 kB / 1.113 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.9804, allocations: 12.62 kB / 1.113 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9804, allocations: 0 / 1.113 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9805, allocations: 8 kB / 1.113 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9805, allocations: 0 / 1.113 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.981, allocations: 410.3 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.981, allocations: 1.406 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.9811, allocations: 11.98 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.9811, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9811, allocations: 8 kB / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9812, allocations: 8.75 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9812, allocations: 2.938 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.9814, allocations: 211.4 kB / 1.114 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.9815, allocations: 90.97 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.9815, allocations: 0 / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.9817, allocations: 11.98 kB / 1.114 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.9817, allocations: 19.94 kB / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.9818, allocations: 4 kB / 1.114 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.9818, allocations: 97.23 kB / 1.114 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9818, allocations: 7.938 kB / 1.114 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003119/0.9822, allocations: 59.92 kB / 1.114 GB, free: 4.711 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.0004009/0.9826, allocations: 169.5 kB / 1.114 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.9828, allocations: 79.86 kB / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9828, allocations: 0 / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.9828, allocations: 33.69 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.9831, allocations: 12.5 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.9834, allocations: 123.9 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.9837, allocations: 0.7009 MB / 1.115 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.342e-05/0.9838, allocations: 12.66 kB / 1.115 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.9838, allocations: 11.44 kB / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9838, allocations: 0 / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of Templates: time 0.00498/0.9888, allocations: 1.811 MB / 1.117 GB, free: 1.785 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)