Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.863/2.863, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001509/0.001508, allocations: 178.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 98.56 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.00055, allocations: 12.36 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2493, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9413/1.191, allocations: 140 MB / 1.115 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.191, allocations: 87.17 kB / 1.115 GB, free: 15.43 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01529/1.206, allocations: 3.154 MB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.206, allocations: 4 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.206, allocations: 3.844 kB / 1.118 GB, free: 30.97 MB / 0.698 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.000917/1.207, allocations: 476.2 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.207, allocations: 11.7 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/1.207, allocations: 38.06 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/1.207, allocations: 11.72 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/1.208, allocations: 190.2 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-05/1.208, allocations: 36.5 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/1.208, allocations: 3.875 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/1.208, allocations: 73.12 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.208, allocations: 0 / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/1.208, allocations: 6.875 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.208, allocations: 0 / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/1.208, allocations: 59.33 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/1.209, allocations: 330.2 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/1.21, allocations: 68.33 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/1.21, allocations: 10.16 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/1.21, allocations: 98 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.544e-06/1.21, allocations: 0 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007209/1.211, allocations: 176.7 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/1.211, allocations: 57.98 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.211, allocations: 122.8 kB / 1.12 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.211, allocations: 29.7 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/1.211, allocations: 105.2 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.211, allocations: 21.72 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/1.211, allocations: 0 / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.211, allocations: 321 kB / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.211, allocations: 27.5 kB / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/1.212, allocations: 84.53 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/1.212, allocations: 34.77 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.212, allocations: 3.844 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004746/1.212, allocations: 141.9 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.212, allocations: 7.719 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.212, allocations: 0 / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.212, allocations: 7.75 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.213, allocations: 18.64 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.213, allocations: 11.03 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/1.213, allocations: 18.03 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.213, allocations: 3.812 kB / 1.121 GB, free: 29.06 MB / 0.698 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 0.0001363/1.213, allocations: 122.2 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/1.213, allocations: 14.88 kB / 1.121 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/1.213, allocations: 8.219 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.213, allocations: 3.906 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.213, allocations: 4 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.213, allocations: 3.953 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/1.214, allocations: 440.1 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.214, allocations: 4 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.214, allocations: 10.77 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.214, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.214, allocations: 6.625 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.214, allocations: 7.953 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.214, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/1.215, allocations: 234.1 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/1.215, allocations: 88.19 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/1.215, allocations: 0 / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.215, allocations: 18.11 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/1.215, allocations: 14.42 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1.215, allocations: 0 / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.052e-05/1.215, allocations: 102.3 kB / 1.122 GB, free: 28.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.215, allocations: 4 kB / 1.122 GB, free: 28.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000463/1.216, allocations: 50.78 kB / 1.122 GB, free: 28.27 MB / 0.698 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.001322/1.217, allocations: 0.8302 MB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004841/1.218, allocations: 94.2 kB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.218, allocations: 256 / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/1.218, allocations: 51.92 kB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/1.218, allocations: 16.97 kB / 1.123 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/1.22, allocations: 1.223 MB / 1.124 GB, free: 26.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/1.22, allocations: 0.7016 MB / 1.125 GB, free: 25.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000101/1.22, allocations: 12.81 kB / 1.125 GB, free: 25.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/1.22, allocations: 26.81 kB / 1.125 GB, free: 25.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.22, allocations: 0 / 1.125 GB, free: 25.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/1.243, allocations: 2.898 MB / 1.128 GB, free: 25.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.244, allocations: 230.1 kB / 1.128 GB, free: 25.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.833, allocations: 0 / 1.128 GB, free: 25.2 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)