Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 293 MB / 309 MB, free: 4.824 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.001118/0.001118, allocations: 177.5 kB / 378.7 MB, free: 1.035 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.371/1.371, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0007714/0.0007714, allocations: 94.06 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.000413, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5624/0.7923, allocations: 141.4 MB / 1.129 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.7926, allocations: 86.91 kB / 1.129 GB, free: 32.82 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.009049/0.8017, allocations: 3.35 MB / 1.132 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8017, allocations: 3.938 kB / 1.132 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.8017, allocations: 0 / 1.132 GB, free: 30.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006024/0.8023, allocations: 0.499 MB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8024, allocations: 8.031 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.8024, allocations: 12.84 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.8026, allocations: 183.6 kB / 1.133 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.8026, allocations: 4.875 kB / 1.133 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.8026, allocations: 8.375 kB / 1.133 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.8028, allocations: 86.98 kB / 1.133 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8028, allocations: 192 / 1.133 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8028, allocations: 3.938 kB / 1.133 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8029, allocations: 4 kB / 1.133 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.803, allocations: 50.36 kB / 1.133 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.8035, allocations: 341.7 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.8037, allocations: 82.09 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.8038, allocations: 39.56 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.8038, allocations: 8 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.804, allocations: 95.77 kB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.804, allocations: 0 / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003768/0.8044, allocations: 182.6 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.8044, allocations: 63.39 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.8045, allocations: 143.4 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.8046, allocations: 33.7 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.8046, allocations: 92.12 kB / 1.134 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.8046, allocations: 19.72 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.8047, allocations: 8 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.8047, allocations: 318.1 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.8048, allocations: 38.61 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.8049, allocations: 75.97 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.805, allocations: 109.1 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8051, allocations: 4 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002176/0.8053, allocations: 145.5 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8053, allocations: 4 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8053, allocations: 7.938 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8053, allocations: 4.094 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.8054, allocations: 19.22 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8055, allocations: 4 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.8056, allocations: 16.41 kB / 1.135 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8056, allocations: 7.422 kB / 1.135 GB, free: 27.68 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 7.447e-05/0.8057, allocations: 125.8 kB / 1.135 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.8057, allocations: 11.91 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.806, allocations: 178.9 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.806, allocations: 0 / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.806, allocations: 0.8438 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.806, allocations: 1.188 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.8065, allocations: 476.8 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8065, allocations: 0 / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.8066, allocations: 15.33 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8066, allocations: 1.125 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8067, allocations: 4 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8067, allocations: 0 / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8067, allocations: 5.094 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.8069, allocations: 258.7 kB / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.807, allocations: 88.92 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.807, allocations: 3.469 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8071, allocations: 12 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.8072, allocations: 23.58 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.8072, allocations: 4 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.8073, allocations: 104.4 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8073, allocations: 0 / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003541/0.8076, allocations: 63.5 kB / 1.136 GB, free: 26.35 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003784/0.808, allocations: 181.1 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.8083, allocations: 94 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8083, allocations: 4 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.8084, allocations: 51.41 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.8087, allocations: 18.06 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.8092, allocations: 268.4 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.8093, allocations: 0.7041 MB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.794e-05/0.8094, allocations: 9.062 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.8094, allocations: 19.44 kB / 1.137 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.8094, allocations: 0 / 1.137 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.005171/0.8146, allocations: 1.979 MB / 1.139 GB, free: 23.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)