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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.726/1.726, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001193/0.001193, allocations: 180.4 kB / 371.6 MB, free: 3.422 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.555/1.555, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001248/0.001248, allocations: 91.69 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.091e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7787/1.003, allocations: 141.1 MB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.003, allocations: 87.41 kB / 1.118 GB, free: 43.02 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.00859/1.011, allocations: 3.149 MB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.644e-06/1.012, allocations: 0 / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.012, allocations: 0.5625 kB / 1.121 GB, free: 41.2 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.0005068/1.012, allocations: 466.3 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.012, allocations: 8.031 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/1.012, allocations: 33.84 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/1.012, allocations: 10.41 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.012, allocations: 174.9 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.012, allocations: 0.6562 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/1.012, allocations: 8 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/1.013, allocations: 74.44 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.013, allocations: 0 / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.013, allocations: 3.812 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/1.013, allocations: 0 / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.409e-05/1.013, allocations: 31.08 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/1.013, allocations: 339.7 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/1.013, allocations: 62.48 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/1.013, allocations: 31.88 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/1.013, allocations: 0 / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/1.014, allocations: 89.52 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/1.014, allocations: 0 / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002435/1.014, allocations: 115.7 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.014, allocations: 59.17 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/1.014, allocations: 123.8 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.014, allocations: 29.58 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/1.014, allocations: 92.16 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/1.014, allocations: 23.83 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-06/1.014, allocations: 3.938 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/1.014, allocations: 322 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/1.014, allocations: 23.88 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/1.014, allocations: 60.3 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/1.014, allocations: 31.64 kB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.014, allocations: 0 / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001674/1.015, allocations: 115.2 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.015, allocations: 9.188 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.015, allocations: 0 / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.015, allocations: 4 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.015, allocations: 22.95 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.015, allocations: 0.5625 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/1.015, allocations: 27.5 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.015, allocations: 5.031 kB / 1.123 GB, free: 38.93 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.93e-05/1.015, allocations: 116.7 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/1.015, allocations: 7.906 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/1.015, allocations: 142.5 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.015, allocations: 0.8438 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.015, allocations: 4.5 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.015, allocations: 3.375 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/1.016, allocations: 411.4 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.016, allocations: 0.9375 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/1.016, allocations: 11.19 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.016, allocations: 4 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.016, allocations: 4.938 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.016, allocations: 0 / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.016, allocations: 4.656 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/1.016, allocations: 229.2 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/1.016, allocations: 83.48 kB / 1.124 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/1.016, allocations: 7.938 kB / 1.124 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/1.016, allocations: 7.281 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/1.016, allocations: 19.47 kB / 1.124 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.016, allocations: 3.375 kB / 1.124 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.875e-05/1.016, allocations: 100.3 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.016, allocations: 0.9375 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002883/1.017, allocations: 54.95 kB / 1.124 GB, free: 37.85 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.0006519/1.017, allocations: 0.8175 MB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001597/1.018, allocations: 70.98 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.018, allocations: 0 / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/1.018, allocations: 51.48 kB / 1.125 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/1.018, allocations: 16.83 kB / 1.125 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/1.018, allocations: 178.9 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/1.018, allocations: 0.7021 MB / 1.126 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.586e-05/1.019, allocations: 6.781 kB / 1.126 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/1.019, allocations: 31.7 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/1.019, allocations: 4 kB / 1.126 GB, free: 36.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/1.033, allocations: 2.924 MB / 1.129 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.033, allocations: 204.3 kB / 1.129 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.722, allocations: 0 / 1.129 GB, free: 34.22 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)