Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001172/0.001172, allocations: 180.2 kB / 371.6 MB, free: 3.422 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.822/1.822, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009491/0.0009489, allocations: 88.84 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.168e-05, allocations: 0 / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2891, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8844/1.174, allocations: 141.2 MB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.174, allocations: 83.86 kB / 1.118 GB, free: 42.91 MB / 0.7448 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.008717/1.183, allocations: 3.224 MB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/1.183, allocations: 0 / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.183, allocations: 0 / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005866/1.183, allocations: 497.1 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.183, allocations: 8.031 kB / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/1.183, allocations: 14.25 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.183, allocations: 174.9 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/1.183, allocations: 10.95 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/1.183, allocations: 8 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/1.184, allocations: 76.22 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.184, allocations: 4.688 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.184, allocations: 0 / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.184, allocations: 0 / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/1.184, allocations: 39.25 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/1.184, allocations: 333.3 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/1.184, allocations: 77 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/1.185, allocations: 35.8 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/1.185, allocations: 4 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/1.185, allocations: 93.88 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/1.185, allocations: 4 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000267/1.185, allocations: 130.5 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.185, allocations: 58.72 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/1.185, allocations: 125.4 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/1.185, allocations: 33.58 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/1.185, allocations: 91.92 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/1.185, allocations: 23.53 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/1.185, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/1.185, allocations: 330.1 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/1.185, allocations: 23.56 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/1.185, allocations: 64.42 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/1.186, allocations: 31.86 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.186, allocations: 7.938 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001625/1.186, allocations: 123.7 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.186, allocations: 8 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.186, allocations: 0 / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.186, allocations: 4 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.186, allocations: 15.52 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.186, allocations: 4.812 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/1.186, allocations: 27.06 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.186, allocations: 4.656 kB / 1.123 GB, free: 38.75 MB / 0.7448 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.086e-05/1.186, allocations: 123.5 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/1.186, allocations: 7.906 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/1.186, allocations: 150.3 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.186, allocations: 0 / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.186, allocations: 0 / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.186, allocations: 0 / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/1.187, allocations: 449.9 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.187, allocations: 4 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/1.187, allocations: 16.81 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.187, allocations: 0 / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.187, allocations: 4.688 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.187, allocations: 0 / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.187, allocations: 5.547 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/1.187, allocations: 231.9 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/1.187, allocations: 88.83 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/1.187, allocations: 4.297 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/1.187, allocations: 8 kB / 1.124 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/1.187, allocations: 18.83 kB / 1.124 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.187, allocations: 4 kB / 1.124 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.118e-05/1.187, allocations: 107.7 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.187, allocations: 0 / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003009/1.188, allocations: 59.09 kB / 1.125 GB, free: 37.63 MB / 0.7448 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.00033/1.188, allocations: 177.3 kB / 1.125 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001641/1.188, allocations: 83.06 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.188, allocations: 0 / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/1.188, allocations: 50.83 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/1.189, allocations: 13.08 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/1.189, allocations: 135.1 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/1.189, allocations: 0.7028 MB / 1.126 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.609e-05/1.189, allocations: 7.812 kB / 1.126 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/1.189, allocations: 18.19 kB / 1.126 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.189, allocations: 0 / 1.126 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.00402/1.193, allocations: 1.962 MB / 1.128 GB, free: 35.46 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)