Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.001011/0.001011, allocations: 193.6 kB / 373 MB, free: 10.14 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.521/1.521, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007712/0.0007711, allocations: 102.2 kB / 0.7451 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 10.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5904/0.7792, allocations: 140.3 MB / 1.118 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.7795, allocations: 88.86 kB / 1.118 GB, free: 16.38 MB / 0.6823 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.008594/0.7881, allocations: 3.174 MB / 1.121 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7881, allocations: 0 / 1.121 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7882, allocations: 3.938 kB / 1.121 GB, free: 31.93 MB / 0.698 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.0005562/0.7887, allocations: 474.4 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7888, allocations: 7.688 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.7888, allocations: 12.69 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.7889, allocations: 179.3 kB / 1.122 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.789, allocations: 4.25 kB / 1.122 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.789, allocations: 7.156 kB / 1.122 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.7892, allocations: 74.36 kB / 1.122 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7892, allocations: 7.938 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.7892, allocations: 7 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7892, allocations: 0 / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.7894, allocations: 51.03 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.7899, allocations: 318 kB / 1.122 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.79, allocations: 76.83 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.7901, allocations: 38.69 kB / 1.122 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.7901, allocations: 0 / 1.122 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.7903, allocations: 93.88 kB / 1.122 GB, free: 30.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.7903, allocations: 4 kB / 1.122 GB, free: 30.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003353/0.7907, allocations: 158.1 kB / 1.122 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.7907, allocations: 58.62 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.7908, allocations: 130.7 kB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.7908, allocations: 29.58 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.7909, allocations: 90.62 kB / 1.123 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.7909, allocations: 31.89 kB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.7909, allocations: 0 / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.791, allocations: 321.3 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.7911, allocations: 30.39 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.7912, allocations: 66.64 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.7913, allocations: 107.7 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7913, allocations: 0 / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001985/0.7915, allocations: 142 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.7915, allocations: 3.906 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7916, allocations: 3.906 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.7916, allocations: 0 / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.7917, allocations: 22.02 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7917, allocations: 3.812 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.427e-05/0.7918, allocations: 22.83 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7918, allocations: 7.656 kB / 1.123 GB, free: 30.02 MB / 0.698 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.752e-05/0.7919, allocations: 119.1 kB / 1.123 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.7919, allocations: 14.53 kB / 1.123 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.7922, allocations: 148.9 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7922, allocations: 3.844 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7922, allocations: 0 / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7922, allocations: 3.047 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.7927, allocations: 438.7 kB / 1.124 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7927, allocations: 4 kB / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.7928, allocations: 10.61 kB / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7928, allocations: 0 / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7928, allocations: 7.078 kB / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7928, allocations: 0 / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7928, allocations: 0 / 1.124 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.7931, allocations: 239 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.7931, allocations: 84.89 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.7931, allocations: 3.812 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.7932, allocations: 10.14 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.7933, allocations: 16.91 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.7933, allocations: 6.594 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.7934, allocations: 100.2 kB / 1.125 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7934, allocations: 0 / 1.125 GB, free: 29.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002996/0.7937, allocations: 60.59 kB / 1.125 GB, free: 29.2 MB / 0.698 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.0003095/0.794, allocations: 173.2 kB / 1.125 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.7942, allocations: 93.05 kB / 1.125 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7942, allocations: 3.938 kB / 1.125 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.7943, allocations: 48.53 kB / 1.125 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7946, allocations: 10.44 kB / 1.125 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.795, allocations: 236 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.7952, allocations: 0.6935 MB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.7953, allocations: 15.03 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.7953, allocations: 18.94 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7953, allocations: 3.938 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of Templates: time 0.003807/0.7991, allocations: 1.816 MB / 1.128 GB, free: 28.05 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)