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.732/1.732, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001292/0.001292, allocations: 181 kB / 377.1 MB, free: 1.539 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.65/1.65, allocations: 205.4 MB / 0.6366 GB, free: 8.668 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.0008467/0.0008467, allocations: 94.77 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.000504, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.343, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8994/1.243, allocations: 141.2 MB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.243, allocations: 86.72 kB / 1.126 GB, free: 33.72 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.00872/1.252, allocations: 3.173 MB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.252, allocations: 3.938 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.278e-06/1.252, allocations: 0 / 1.13 GB, free: 31.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006443/1.252, allocations: 470.1 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.252, allocations: 16.02 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/1.252, allocations: 38.86 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/1.252, allocations: 9.969 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.253, allocations: 170.3 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.253, allocations: 7.438 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/1.253, allocations: 8.75 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.253, allocations: 77.25 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.253, allocations: 0 / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.253, allocations: 4 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.253, allocations: 4.75 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/1.253, allocations: 42.31 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/1.254, allocations: 337.7 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.254, allocations: 61.38 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/1.254, allocations: 3.469 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.254, allocations: 97.08 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/1.254, allocations: 96 / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000379/1.254, allocations: 163.5 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.254, allocations: 59.34 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/1.254, allocations: 124.5 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.254, allocations: 29.7 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/1.255, allocations: 95.89 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/1.255, allocations: 20.8 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.255, allocations: 4 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/1.255, allocations: 322.5 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/1.255, allocations: 31.11 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/1.255, allocations: 69.55 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/1.255, allocations: 31.52 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.255, allocations: 0 / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002015/1.255, allocations: 139.2 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.255, allocations: 4 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.255, allocations: 8.719 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.255, allocations: 0 / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.255, allocations: 19.31 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.255, allocations: 4 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.255, allocations: 21.31 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/1.255, allocations: 11.95 kB / 1.132 GB, free: 28.91 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,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.72e-05/1.256, allocations: 124.3 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/1.256, allocations: 7.906 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/1.256, allocations: 146.6 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.256, allocations: 5.438 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.256, allocations: 0 / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.256, allocations: 7.406 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/1.256, allocations: 424.6 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.256, allocations: 3.422 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/1.256, allocations: 12.62 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.256, allocations: 0 / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.256, allocations: 11.33 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.256, allocations: 1.031 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.256, allocations: 8.516 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/1.257, allocations: 225.8 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/1.257, allocations: 89.02 kB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.257, allocations: 4 kB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.257, allocations: 11.56 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/1.257, allocations: 8.391 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.257, allocations: 12.08 kB / 1.133 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.117e-05/1.257, allocations: 100.2 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.257, allocations: 0 / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003483/1.257, allocations: 59.48 kB / 1.133 GB, free: 27.68 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 (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.0006896/1.258, allocations: 0.834 MB / 1.134 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002135/1.258, allocations: 89.48 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.258, allocations: 3.938 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/1.258, allocations: 52.38 kB / 1.134 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/1.259, allocations: 18.59 kB / 1.134 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/1.259, allocations: 1.237 MB / 1.135 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/1.26, allocations: 0.6952 MB / 1.136 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.195e-05/1.26, allocations: 12.8 kB / 1.136 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/1.26, allocations: 27 kB / 1.136 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.26, allocations: 0 / 1.136 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/1.275, allocations: 2.88 MB / 1.139 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.276, allocations: 224.3 kB / 1.139 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/3.032, allocations: 0 / 1.139 GB, free: 22.89 MB / 0.7292 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)