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.655/1.655, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001591/0.001591, allocations: 187.3 kB / 377.1 MB, free: 1.531 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.784/1.784, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.001138/0.001138, allocations: 88.42 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3467, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.166, allocations: 141.2 MB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.167, allocations: 90.42 kB / 1.126 GB, free: 33.89 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.008701/1.175, allocations: 3.171 MB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.176, allocations: 4 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.176, allocations: 0 / 1.13 GB, free: 31.59 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.0005603/1.176, allocations: 477.2 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.176, allocations: 12.02 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/1.176, allocations: 38.8 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/1.176, allocations: 9.969 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.176, allocations: 171 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/1.176, allocations: 7.438 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/1.176, allocations: 4 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/1.177, allocations: 87.17 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.177, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.177, allocations: 1.406 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.177, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/1.177, allocations: 43.08 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/1.177, allocations: 335.9 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/1.177, allocations: 61.66 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/1.177, allocations: 8.141 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/1.178, allocations: 93.19 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/1.178, allocations: 4.094 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003473/1.178, allocations: 160 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.178, allocations: 55.34 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/1.178, allocations: 126.4 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.178, allocations: 33.7 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/1.178, allocations: 91.8 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/1.178, allocations: 15.81 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/1.178, allocations: 4 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/1.178, allocations: 322.2 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/1.178, allocations: 31.55 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/1.178, allocations: 64.72 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/1.179, allocations: 38 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.179, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002013/1.179, allocations: 140.3 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.179, allocations: 8.875 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.179, allocations: 0.9375 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.179, allocations: 7.375 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.179, allocations: 19.41 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.179, allocations: 0.8594 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.179, allocations: 28.08 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.179, allocations: 7.953 kB / 1.132 GB, free: 29.07 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 7.144e-05/1.179, allocations: 118.8 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/1.179, allocations: 7.906 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/1.179, allocations: 147.4 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.179, allocations: 4 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.18, allocations: 5.438 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.18, allocations: 0 / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/1.18, allocations: 431.2 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.18, allocations: 0.625 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/1.18, allocations: 23.42 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.18, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.18, allocations: 3.422 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.18, allocations: 0.8125 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.18, allocations: 7.891 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.18, allocations: 234.4 kB / 1.133 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/1.18, allocations: 81.67 kB / 1.133 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/1.18, allocations: 4 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.181, allocations: 11.52 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/1.181, allocations: 11.47 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.181, allocations: 14.16 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.756e-05/1.181, allocations: 95.94 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.181, allocations: 0 / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002985/1.181, allocations: 60.42 kB / 1.133 GB, free: 27.84 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.0006747/1.182, allocations: 0.8368 MB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002098/1.182, allocations: 87.14 kB / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.182, allocations: 0 / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/1.182, allocations: 47.77 kB / 1.134 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/1.182, allocations: 23.52 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/1.183, allocations: 1.225 MB / 1.135 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/1.183, allocations: 0.7029 MB / 1.136 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.614e-05/1.183, allocations: 4.438 kB / 1.136 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/1.183, allocations: 31.52 kB / 1.136 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/1.183, allocations: 0 / 1.136 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/1.198, allocations: 2.881 MB / 1.139 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/1.199, allocations: 224.4 kB / 1.139 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.915, allocations: 0 / 1.139 GB, free: 23.05 MB / 0.7292 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)