Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.721/1.721, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001131/0.001131, allocations: 192.1 kB / 377.1 MB, free: 1.516 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.8/1.8, allocations: 205.4 MB / 0.6366 GB, free: 9.473 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.0009124/0.0009122, allocations: 98.06 kB / 0.7509 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004091, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2997, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7842/1.084, allocations: 141.3 MB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.084, allocations: 85.69 kB / 1.127 GB, free: 33.83 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.009116/1.093, allocations: 3.341 MB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.028e-06/1.093, allocations: 3.375 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.093, allocations: 7.938 kB / 1.13 GB, free: 31.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006588/1.094, allocations: 0.5022 MB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.094, allocations: 12.02 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/1.094, allocations: 38.97 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.094, allocations: 13.97 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/1.094, allocations: 183.8 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.094, allocations: 8 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/1.094, allocations: 4 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/1.095, allocations: 80.3 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.095, allocations: 0 / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.095, allocations: 4 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.095, allocations: 0 / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/1.095, allocations: 58.67 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/1.095, allocations: 331.9 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/1.096, allocations: 82 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.096, allocations: 11.09 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.096, allocations: 95.52 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.514e-06/1.096, allocations: 1.734 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004016/1.096, allocations: 184.6 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.096, allocations: 63.41 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/1.096, allocations: 129.5 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.096, allocations: 33.7 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/1.096, allocations: 92.14 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/1.096, allocations: 28.08 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/1.096, allocations: 4 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/1.097, allocations: 322.2 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/1.097, allocations: 34.66 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/1.097, allocations: 72.5 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.629e-05/1.097, allocations: 35.47 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.097, allocations: 4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002147/1.097, allocations: 139.6 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.097, allocations: 4.562 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.097, allocations: 3.938 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.097, allocations: 11.42 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.097, allocations: 19.22 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.097, allocations: 8.094 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.097, allocations: 15.92 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.097, allocations: 4.562 kB / 1.132 GB, free: 28.77 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.004e-05/1.097, allocations: 125.8 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/1.097, allocations: 11.23 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/1.098, allocations: 178.8 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.098, allocations: 0 / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.098, allocations: 4.453 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.098, allocations: 0.8438 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/1.098, allocations: 469.5 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.098, allocations: 0.9375 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/1.098, allocations: 15.47 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.098, allocations: 3.953 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.098, allocations: 7.328 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.098, allocations: 0 / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.098, allocations: 4 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/1.099, allocations: 256 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.099, allocations: 86.27 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.099, allocations: 3.953 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.099, allocations: 16.45 kB / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/1.099, allocations: 14.84 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1.099, allocations: 4 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.94e-05/1.099, allocations: 104.6 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.099, allocations: 4.844 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003529/1.099, allocations: 58.52 kB / 1.134 GB, free: 27.44 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0007169/1.1, allocations: 0.8618 MB / 1.134 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002238/1.1, allocations: 93.92 kB / 1.135 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.1, allocations: 0 / 1.135 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.101, allocations: 58.69 kB / 1.135 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/1.101, allocations: 20.31 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/1.102, allocations: 1.267 MB / 1.136 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/1.102, allocations: 0.7056 MB / 1.137 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.941e-05/1.102, allocations: 16.59 kB / 1.137 GB, free: 24.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/1.102, allocations: 34.77 kB / 1.137 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.102, allocations: 0 / 1.137 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/1.117, allocations: 3.224 MB / 1.14 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.117, allocations: 230.5 kB / 1.14 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.79, allocations: 0 / 1.14 GB, free: 22.4 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)