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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 293 MB / 309 MB, free: 4.816 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.001139/0.00114, allocations: 176.5 kB / 378.7 MB, free: 1.016 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.469/1.469, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0007708/0.0007708, allocations: 92.31 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5916/0.8079, allocations: 141.3 MB / 1.128 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.8082, allocations: 87.45 kB / 1.129 GB, free: 32.99 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.008053/0.8162, allocations: 3.189 MB / 1.132 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8162, allocations: 0 / 1.132 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8163, allocations: 4 kB / 1.132 GB, free: 30.7 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.0004918/0.8168, allocations: 469.8 kB / 1.132 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8168, allocations: 11.36 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.8168, allocations: 8.844 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.817, allocations: 184.2 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.817, allocations: 384 / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.817, allocations: 5 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.8172, allocations: 79.98 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8172, allocations: 2.203 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8172, allocations: 3.938 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8172, allocations: 7.938 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.8173, allocations: 46.7 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.8179, allocations: 323 kB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.818, allocations: 74.05 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.8181, allocations: 32.28 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.8182, allocations: 0 / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.8183, allocations: 102.3 kB / 1.133 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.8184, allocations: 0 / 1.133 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003823/0.8187, allocations: 163.1 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.8188, allocations: 55.41 kB / 1.133 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8189, allocations: 126.4 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.8189, allocations: 29.7 kB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.819, allocations: 92.53 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.819, allocations: 26.8 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.819, allocations: 0.5625 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.8191, allocations: 326.1 kB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.8192, allocations: 31.45 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.8193, allocations: 68.28 kB / 1.134 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.8195, allocations: 109.3 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8195, allocations: 0 / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002285/0.8197, allocations: 132.8 kB / 1.134 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8198, allocations: 8 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8198, allocations: 0 / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8198, allocations: 4 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.8199, allocations: 19.62 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8199, allocations: 4 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.82, allocations: 19.59 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.8201, allocations: 14.58 kB / 1.134 GB, free: 28.09 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 8.495e-05/0.8201, allocations: 117.8 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.8202, allocations: 7.906 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.8205, allocations: 155.9 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8205, allocations: 0 / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8205, allocations: 3.938 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8205, allocations: 0 / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.8211, allocations: 435.5 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.8211, allocations: 0 / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.8212, allocations: 12.03 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8212, allocations: 4 kB / 1.135 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.8212, allocations: 5 kB / 1.135 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8212, allocations: 3.469 kB / 1.135 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8212, allocations: 0 / 1.135 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.8215, allocations: 238.4 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.8215, allocations: 85.02 kB / 1.135 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.8216, allocations: 4 kB / 1.135 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.8217, allocations: 11.42 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.8217, allocations: 11.86 kB / 1.135 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8218, allocations: 7.469 kB / 1.135 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.8218, allocations: 106.1 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8218, allocations: 0 / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003095/0.8221, allocations: 59.25 kB / 1.135 GB, free: 26.86 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.0004387/0.8226, allocations: 171.5 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.8228, allocations: 90.23 kB / 1.136 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8228, allocations: 0 / 1.136 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.8229, allocations: 52.03 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.8232, allocations: 11.52 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.8237, allocations: 240.6 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.8239, allocations: 0.697 MB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.047e-05/0.824, allocations: 12.44 kB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.824, allocations: 14.81 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.824, allocations: 0 / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.005113/0.8291, allocations: 1.793 MB / 1.138 GB, free: 24.61 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)