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.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001154/0.001154, allocations: 180.2 kB / 371.6 MB, free: 3.383 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.556/1.556, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000855/0.000855, allocations: 91.75 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.641e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7169/0.9586, allocations: 141.1 MB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.9588, allocations: 79.78 kB / 1.118 GB, free: 42.96 MB / 0.7448 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.008391/0.9673, allocations: 3.149 MB / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9673, allocations: 0 / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.9673, allocations: 4 kB / 1.121 GB, free: 41.15 MB / 0.7448 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.000488/0.9678, allocations: 464.9 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9678, allocations: 11.41 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.9679, allocations: 34.56 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.9679, allocations: 10.41 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.968, allocations: 174.4 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.9681, allocations: 0 / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.9681, allocations: 8.828 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.9682, allocations: 73.95 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9683, allocations: 0 / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.9683, allocations: 0 / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.9683, allocations: 8.562 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.9684, allocations: 30.16 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.9689, allocations: 330 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.969, allocations: 71.53 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.969, allocations: 23.92 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9691, allocations: 1.031 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.9692, allocations: 86.94 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.9692, allocations: 0 / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002299/0.9695, allocations: 117.2 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.9695, allocations: 67.28 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.9696, allocations: 120.1 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.9696, allocations: 28.27 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.9696, allocations: 97.81 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.9697, allocations: 15.38 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.9697, allocations: 4.219 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.9697, allocations: 317.9 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.9698, allocations: 21.81 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.9698, allocations: 65.84 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.9699, allocations: 27.67 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9699, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001578/0.9701, allocations: 124.9 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.9701, allocations: 4.656 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9701, allocations: 0 / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.9701, allocations: 4 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.9702, allocations: 23.06 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9702, allocations: 0.7031 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.9703, allocations: 24.5 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.9704, allocations: 4 kB / 1.123 GB, free: 38.89 MB / 0.7448 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 5.683e-05/0.9704, allocations: 119.5 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.9705, allocations: 11.78 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.9707, allocations: 140.2 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9707, allocations: 0 / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.9707, allocations: 0 / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9707, allocations: 0 / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.9711, allocations: 421.4 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9711, allocations: 0 / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.9712, allocations: 15.75 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.9712, allocations: 0.625 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.9713, allocations: 3.375 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9713, allocations: 0 / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9713, allocations: 7.953 kB / 1.124 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.9715, allocations: 224.5 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.9715, allocations: 85.58 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.9715, allocations: 7.375 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.9716, allocations: 8 kB / 1.124 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.9717, allocations: 17.48 kB / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.9717, allocations: 4.625 kB / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.9718, allocations: 98.23 kB / 1.124 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9718, allocations: 0.8438 kB / 1.124 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003541/0.9721, allocations: 57.62 kB / 1.124 GB, free: 37.8 MB / 0.7448 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.0005969/0.9727, allocations: 0.816 MB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.9729, allocations: 77.53 kB / 1.125 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9729, allocations: 3.938 kB / 1.125 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.973, allocations: 46.45 kB / 1.125 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.9732, allocations: 10.05 kB / 1.125 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.9737, allocations: 189.1 kB / 1.125 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.9738, allocations: 0.699 MB / 1.126 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.9739, allocations: 4.438 kB / 1.126 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.9739, allocations: 29.86 kB / 1.126 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.9739, allocations: 0 / 1.126 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.9883, allocations: 2.929 MB / 1.129 GB, free: 34.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.9885, allocations: 198.1 kB / 1.129 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.634, allocations: 4 kB / 1.129 GB, free: 34.18 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)