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.695/1.695, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001925/0.001926, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.671/1.671, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008179/0.000818, allocations: 89.52 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.802e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6852, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.9125, allocations: 140.5 MB / 1.111 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.9129, allocations: 83.94 kB / 1.111 GB, free: 9.586 MB / 0.7136 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.0128/0.9257, allocations: 3.14 MB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9258, allocations: 0 / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.9258, allocations: 4 kB / 1.114 GB, free: 6.477 MB / 0.7136 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.0008658/0.9267, allocations: 456.5 kB / 1.114 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.9267, allocations: 8.031 kB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.9268, allocations: 9.312 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.927, allocations: 177.6 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.9271, allocations: 4 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.9271, allocations: 4 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001367/0.9273, allocations: 31.98 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.9274, allocations: 58.61 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9274, allocations: 3.938 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.9275, allocations: 0 / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9275, allocations: 1.281 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.9283, allocations: 315.8 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.9284, allocations: 54.56 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.9285, allocations: 33.17 kB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9286, allocations: 0 / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.9288, allocations: 88.61 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.9288, allocations: 4 kB / 1.115 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003947/0.9292, allocations: 105.5 kB / 1.115 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.9293, allocations: 55.41 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.9294, allocations: 122.7 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.9295, allocations: 29.7 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.9296, allocations: 96.27 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.9296, allocations: 15.81 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.9296, allocations: 0 / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.9298, allocations: 322.8 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.9299, allocations: 24 kB / 1.116 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.93, allocations: 57.14 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.9301, allocations: 23.98 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9301, allocations: 0 / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002726/0.9304, allocations: 113.4 kB / 1.116 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.9304, allocations: 8 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9305, allocations: 6 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.9305, allocations: 7.984 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.9306, allocations: 21.23 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9307, allocations: 0 / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.9308, allocations: 15.98 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.9308, allocations: 8.125 kB / 1.116 GB, free: 4.031 MB / 0.7136 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 0.0001073/0.931, allocations: 108.9 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002759/0.9312, allocations: 113.5 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.9313, allocations: 7.906 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.9316, allocations: 130.1 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.9317, allocations: 9.719 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9317, allocations: 0 / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9317, allocations: 0 / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.9324, allocations: 383.1 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9324, allocations: 0 / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.9325, allocations: 15.92 kB / 1.117 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.9325, allocations: 4 kB / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.9325, allocations: 0 / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9326, allocations: 0 / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.9326, allocations: 7.953 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.9329, allocations: 207.4 kB / 1.117 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.933, allocations: 85.02 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.933, allocations: 4 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.9332, allocations: 11.98 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.9333, allocations: 7.984 kB / 1.117 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.9333, allocations: 15.94 kB / 1.117 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.9334, allocations: 97.66 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9334, allocations: 0 / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005323/0.9339, allocations: 51.92 kB / 1.117 GB, free: 2.703 MB / 0.7136 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.001066/0.935, allocations: 0.8149 MB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.9352, allocations: 67.92 kB / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9353, allocations: 0 / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.9354, allocations: 43.88 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.9357, allocations: 11.55 kB / 1.118 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.9365, allocations: 172.6 kB / 1.118 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.9369, allocations: 0.7009 MB / 1.119 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.777e-05/0.937, allocations: 8.422 kB / 1.119 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.9371, allocations: 31.42 kB / 1.119 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.9371, allocations: 0 / 1.119 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.9638, allocations: 2.583 MB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/0.9642, allocations: 182.2 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.631, allocations: 2.25 kB / 1.122 GB, free: 14.09 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)