Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.648/1.648, 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.001226/0.001226, allocations: 189 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.752/1.752, allocations: 205.4 MB / 0.6366 GB, free: 8.66 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.0008705/0.0008701, allocations: 87.14 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2988, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.209, allocations: 141.2 MB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.209, allocations: 85.92 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.008739/1.218, allocations: 3.155 MB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.926e-06/1.218, allocations: 0 / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.218, allocations: 0 / 1.129 GB, free: 31.61 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.0005965/1.218, allocations: 493.3 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.218, allocations: 12.02 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/1.218, allocations: 34.56 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/1.219, allocations: 14.53 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/1.219, allocations: 178.5 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/1.219, allocations: 40.42 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/1.219, allocations: 8 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.219, allocations: 79.94 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.219, allocations: 0.9375 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.219, allocations: 0 / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.219, allocations: 0.5 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/1.219, allocations: 57.83 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/1.22, allocations: 335.2 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/1.22, allocations: 70.02 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.22, allocations: 4 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/1.22, allocations: 105.6 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/1.22, allocations: 0 / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004329/1.221, allocations: 170.1 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.221, allocations: 63.67 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/1.221, allocations: 119.8 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/1.221, allocations: 29.7 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/1.221, allocations: 99.92 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/1.221, allocations: 23.19 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.221, allocations: 8 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/1.221, allocations: 314.8 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/1.221, allocations: 34.8 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/1.221, allocations: 72.05 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.221, allocations: 41.3 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.221, allocations: 0.9375 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/1.222, allocations: 138.7 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.222, allocations: 7.938 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.222, allocations: 7.938 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.222, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.222, allocations: 19.56 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.222, allocations: 7.281 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/1.222, allocations: 19.66 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.222, allocations: 4 kB / 1.132 GB, free: 29.01 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.714e-05/1.222, allocations: 125.8 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/1.222, allocations: 9.031 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/1.222, allocations: 16.14 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.222, allocations: 0 / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.222, allocations: 1.125 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.222, allocations: 0 / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/1.223, allocations: 440.8 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.223, allocations: 0.9375 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/1.223, allocations: 11.38 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.223, allocations: 1.078 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.223, allocations: 12 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.223, allocations: 4.766 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.223, allocations: 7.359 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/1.223, allocations: 224.9 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/1.223, allocations: 81.02 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/1.223, allocations: 11.94 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.223, allocations: 12.45 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/1.223, allocations: 18.61 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.223, allocations: 4.5 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.305e-05/1.223, allocations: 98.31 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.223, allocations: 0 / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000285/1.224, allocations: 55.94 kB / 1.133 GB, free: 27.89 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 (10): * Single equations (assignments): 7 * 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.0007488/1.224, allocations: 0.8387 MB / 1.134 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002812/1.225, allocations: 93.48 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.225, allocations: 0.9375 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.225, allocations: 50.06 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.225, allocations: 16.2 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/1.226, allocations: 1.226 MB / 1.135 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/1.226, allocations: 0.6989 MB / 1.136 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.604e-05/1.226, allocations: 8.562 kB / 1.136 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/1.226, allocations: 30.91 kB / 1.136 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/1.226, allocations: 0 / 1.136 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/1.241, allocations: 2.882 MB / 1.139 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.242, allocations: 229.8 kB / 1.139 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.956, allocations: 3.938 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)