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.816/1.816, 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.001074/0.001074, allocations: 181.1 kB / 377.1 MB, free: 1.512 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.507/1.507, allocations: 205.4 MB / 0.6367 GB, free: 8.582 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.001059/0.001058, allocations: 95.03 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.266, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7298/0.9959, allocations: 141.2 MB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.9963, allocations: 86.44 kB / 1.126 GB, free: 33.75 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.009075/1.005, allocations: 3.172 MB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.744e-06/1.005, allocations: 4 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.005, allocations: 0 / 1.129 GB, free: 31.46 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.0005517/1.006, allocations: 473.8 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.006, allocations: 8.031 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/1.006, allocations: 13.94 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.006, allocations: 167.6 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/1.006, allocations: 9.219 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/1.006, allocations: 11.44 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.006, allocations: 76.17 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.006, allocations: 0.6562 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.007, allocations: 3.562 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.007, allocations: 4 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/1.007, allocations: 39.12 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/1.007, allocations: 331.6 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/1.007, allocations: 75.45 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/1.007, allocations: 4.562 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/1.008, allocations: 89.33 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/1.008, allocations: 0 / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003964/1.008, allocations: 166.2 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/1.008, allocations: 56.25 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/1.008, allocations: 121.6 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.008, allocations: 29.7 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/1.008, allocations: 92.28 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/1.008, allocations: 19.19 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/1.008, allocations: 4 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/1.008, allocations: 326.3 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/1.008, allocations: 27.52 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/1.008, allocations: 71.45 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/1.009, allocations: 36.36 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.009, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000202/1.009, allocations: 131.6 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.009, allocations: 8 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.009, allocations: 0.625 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.009, allocations: 7.938 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.009, allocations: 19.58 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.009, allocations: 4.625 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/1.009, allocations: 20.58 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.009, allocations: 9.125 kB / 1.132 GB, free: 29.01 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.477e-05/1.009, allocations: 130 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/1.009, allocations: 8.844 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/1.009, allocations: 150.7 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.01, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.01, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.01, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/1.01, allocations: 440.2 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.01, allocations: 0 / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/1.01, allocations: 11.38 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.01, allocations: 0.75 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.01, allocations: 8 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/1.01, allocations: 0.9375 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.01, allocations: 0 / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/1.01, allocations: 240.8 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/1.01, allocations: 88.67 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/1.01, allocations: 4.688 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.011, allocations: 11.61 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/1.011, allocations: 7.562 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.011, allocations: 4 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.163e-05/1.011, allocations: 106.8 kB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.011, allocations: 0 / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003054/1.011, allocations: 60.42 kB / 1.133 GB, free: 27.77 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.0003443/1.011, allocations: 167.7 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000216/1.012, allocations: 98.3 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.012, allocations: 0 / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/1.012, allocations: 43.56 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.012, allocations: 16.12 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/1.012, allocations: 233.4 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/1.012, allocations: 0.6952 MB / 1.134 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.752e-05/1.012, allocations: 15.95 kB / 1.134 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/1.013, allocations: 11.44 kB / 1.134 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.013, allocations: 0 / 1.134 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.00445/1.017, allocations: 1.799 MB / 1.136 GB, free: 25.53 MB / 0.7292 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)