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.836/1.836, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001105/0.001105, allocations: 177 kB / 371.8 MB, free: 10.29 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.508/1.508, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008219/0.0008217, allocations: 94.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 15.36 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2464, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7644/1.011, allocations: 140.2 MB / 1.116 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.011, allocations: 87.48 kB / 1.116 GB, free: 16.63 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.009346/1.021, allocations: 3.162 MB / 1.12 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.021, allocations: 0 / 1.12 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.021, allocations: 7.656 kB / 1.12 GB, free: 32.18 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.0006284/1.021, allocations: 469.9 kB / 1.12 GB, free: 31.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.021, allocations: 7.688 kB / 1.12 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/1.021, allocations: 11.72 kB / 1.12 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.021, allocations: 178.8 kB / 1.12 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.021, allocations: 3.781 kB / 1.12 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/1.022, allocations: 7.5 kB / 1.12 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.022, allocations: 79.11 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.022, allocations: 4 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/1.022, allocations: 3.438 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/1.022, allocations: 0 / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/1.022, allocations: 47.14 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/1.022, allocations: 331.6 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.023, allocations: 62.73 kB / 1.121 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/1.023, allocations: 3.844 kB / 1.121 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/1.023, allocations: 98.05 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.023, allocations: 0 / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003591/1.023, allocations: 164 kB / 1.121 GB, free: 31.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.023, allocations: 55.08 kB / 1.121 GB, free: 31.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/1.023, allocations: 126.2 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/1.023, allocations: 29.58 kB / 1.121 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/1.023, allocations: 95.78 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/1.023, allocations: 18.33 kB / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.024, allocations: 3.875 kB / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.024, allocations: 321.8 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/1.024, allocations: 28.77 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/1.024, allocations: 73.58 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/1.024, allocations: 29.92 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.024, allocations: 3.938 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002048/1.024, allocations: 137.5 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.024, allocations: 7.297 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.024, allocations: 3.875 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.024, allocations: 0 / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.024, allocations: 18.81 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/1.024, allocations: 3.969 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/1.024, allocations: 22.91 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.024, allocations: 7.938 kB / 1.122 GB, free: 30.35 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 9.88e-05/1.025, allocations: 125.3 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/1.025, allocations: 7.781 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/1.025, allocations: 142.9 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.025, allocations: 3.875 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.025, allocations: 0 / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.025, allocations: 10.97 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/1.025, allocations: 436.6 kB / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.025, allocations: 0 / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/1.025, allocations: 15 kB / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.025, allocations: 7.938 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.025, allocations: 7.156 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.025, allocations: 0 / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.025, allocations: 0 / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/1.026, allocations: 233.7 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/1.026, allocations: 81.02 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/1.026, allocations: 7.875 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/1.026, allocations: 11.31 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/1.026, allocations: 14.44 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/1.026, allocations: 3.844 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.638e-05/1.026, allocations: 99.14 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.026, allocations: 0 / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003276/1.026, allocations: 61.98 kB / 1.123 GB, free: 29.54 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.0003781/1.027, allocations: 177.2 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002208/1.027, allocations: 93.08 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.027, allocations: 0 / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/1.027, allocations: 56.14 kB / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/1.027, allocations: 8.984 kB / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/1.028, allocations: 234.3 kB / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/1.028, allocations: 0.6934 MB / 1.124 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.553e-05/1.028, allocations: 10.78 kB / 1.124 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/1.028, allocations: 14.34 kB / 1.124 GB, free: 28.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.028, allocations: 3.938 kB / 1.124 GB, free: 28.54 MB / 0.698 GB Notification: Performance of Templates: time 0.004149/1.032, allocations: 1.8 MB / 1.126 GB, free: 28.39 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)