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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001155/0.001155, allocations: 181.7 kB / 371.6 MB, free: 3.395 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.808/1.808, 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.0009071/0.0009071, allocations: 94.83 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.562e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9472/1.257, allocations: 141.1 MB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.257, allocations: 80.36 kB / 1.118 GB, free: 42.93 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.01196/1.269, allocations: 3.147 MB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/1.269, allocations: 0.9375 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.269, allocations: 4 kB / 1.121 GB, free: 41.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006381/1.27, allocations: 465.9 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.27, allocations: 8.031 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/1.27, allocations: 10.25 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.27, allocations: 168 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/1.27, allocations: 7.266 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.27, allocations: 7 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.27, allocations: 68.31 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.27, allocations: 4 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.27, allocations: 7.438 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.271, allocations: 0.75 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/1.271, allocations: 32.86 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/1.271, allocations: 330.5 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/1.271, allocations: 67.2 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/1.272, allocations: 27.55 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.272, allocations: 4 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/1.272, allocations: 83.14 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/1.272, allocations: 1.453 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.000325/1.272, allocations: 114.3 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.272, allocations: 67.33 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.272, allocations: 116.1 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/1.272, allocations: 33.39 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/1.272, allocations: 95.73 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/1.272, allocations: 15.12 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/1.272, allocations: 0 / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/1.273, allocations: 321 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/1.273, allocations: 21.44 kB / 1.123 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/1.273, allocations: 71.14 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/1.273, allocations: 21.53 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.273, allocations: 4.75 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002383/1.273, allocations: 123.1 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.273, allocations: 4 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.273, allocations: 4 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.273, allocations: 0.75 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.273, allocations: 19.27 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.273, allocations: 4 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.273, allocations: 18.23 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/1.273, allocations: 12.64 kB / 1.123 GB, free: 38.9 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,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 7.734e-05/1.274, allocations: 111.6 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/1.274, allocations: 7.906 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/1.274, allocations: 145.9 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.274, allocations: 4.562 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.274, allocations: 0 / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.274, allocations: 0.5625 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/1.275, allocations: 418.7 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.275, allocations: 0.625 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/1.275, allocations: 11.52 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.275, allocations: 0 / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.275, allocations: 7.875 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.275, allocations: 2.219 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.275, allocations: 3.953 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/1.275, allocations: 221.2 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/1.275, allocations: 88.92 kB / 1.124 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/1.275, allocations: 3.188 kB / 1.124 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.275, allocations: 11.33 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/1.275, allocations: 11.72 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.275, allocations: 11.28 kB / 1.124 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.624e-05/1.275, allocations: 98.91 kB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.275, allocations: 0 / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005413/1.276, allocations: 54.52 kB / 1.124 GB, free: 37.81 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 (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.000481/1.277, allocations: 178.3 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002314/1.277, allocations: 82.84 kB / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.277, allocations: 0 / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/1.277, allocations: 37.81 kB / 1.124 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/1.277, allocations: 13.36 kB / 1.124 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/1.278, allocations: 132.8 kB / 1.125 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/1.278, allocations: 0.7077 MB / 1.125 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.5e-05/1.278, allocations: 11.95 kB / 1.125 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/1.278, allocations: 11.44 kB / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.278, allocations: 0 / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of Templates: time 0.005667/1.284, allocations: 1.808 MB / 1.127 GB, free: 35.73 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)