Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.0009498/0.0009498, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.28/1.28, allocations: 205.3 MB / 0.626 GB, free: 7.215 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.0008529/0.0008532, allocations: 88.53 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.092e-05, allocations: 0 / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5503, allocations: 116.3 MB / 0.9732 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.728, allocations: 140.5 MB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.7283, allocations: 79.95 kB / 1.111 GB, free: 9.664 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.009292/0.7377, allocations: 3.136 MB / 1.114 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7377, allocations: 3.25 kB / 1.114 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.7377, allocations: 4 kB / 1.114 GB, free: 6.555 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.0005334/0.7382, allocations: 457.6 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7383, allocations: 8.031 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.7383, allocations: 15.59 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.7385, allocations: 171 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7385, allocations: 4 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.7385, allocations: 4 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.7386, allocations: 31.98 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.7387, allocations: 63.8 kB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7388, allocations: 0 / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7388, allocations: 0 / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7388, allocations: 0 / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.7393, allocations: 311.9 kB / 1.115 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.7394, allocations: 55.44 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.7395, allocations: 31.39 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7395, allocations: 0 / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.7397, allocations: 92.84 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.7397, allocations: 4 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002404/0.7399, allocations: 104.7 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.74, allocations: 55.41 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.74, allocations: 116.9 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.7401, allocations: 28.7 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.7401, allocations: 100.3 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.7402, allocations: 15.81 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.7402, allocations: 0 / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.7403, allocations: 325.8 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.7403, allocations: 16 kB / 1.116 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.7404, allocations: 62.02 kB / 1.116 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.7404, allocations: 31.97 kB / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7405, allocations: 0 / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001614/0.7406, allocations: 109.3 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7406, allocations: 8 kB / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7407, allocations: 0 / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7407, allocations: 4 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.7408, allocations: 21.92 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7408, allocations: 4 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.7409, allocations: 11.98 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.7409, allocations: 8 kB / 1.116 GB, free: 4.117 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.753e-05/0.741, allocations: 108.9 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.741, allocations: 7.906 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.7413, allocations: 140.2 kB / 1.116 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7413, allocations: 0 / 1.116 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7413, allocations: 4 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7413, allocations: 0 / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.7418, allocations: 386.9 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7418, allocations: 0 / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.7419, allocations: 12 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7419, allocations: 4 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.7419, allocations: 7.984 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7419, allocations: 1.5 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.7419, allocations: 0 / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.7421, allocations: 207.3 kB / 1.117 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.7422, allocations: 89 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.7422, allocations: 3.844 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7423, allocations: 15.98 kB / 1.117 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.7424, allocations: 7.984 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.7424, allocations: 8 kB / 1.117 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.7425, allocations: 101.6 kB / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7425, allocations: 0 / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002879/0.7428, allocations: 47.94 kB / 1.117 GB, free: 2.906 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 (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.0003613/0.7431, allocations: 175 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.7433, allocations: 67.92 kB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7433, allocations: 0 / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.7434, allocations: 45.34 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7436, allocations: 10.27 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.7439, allocations: 127 kB / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.7441, allocations: 0.6971 MB / 1.118 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.7441, allocations: 8.422 kB / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.7442, allocations: 11.44 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7442, allocations: 0 / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of Templates: time 0.003975/0.7482, allocations: 1.775 MB / 1.12 GB, free: 12 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)