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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 289.7 MB / 302.2 MB, free: 2.113 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.001374/0.001374, allocations: 182.5 kB / 371.6 MB, free: 3.387 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.779/1.779, 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.0009545/0.0009546, allocations: 88.05 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.921e-05, allocations: 3.984 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8933/1.179, allocations: 141.1 MB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.179, allocations: 79.48 kB / 1.118 GB, free: 43.07 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.008647/1.188, allocations: 3.139 MB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.695e-06/1.188, allocations: 0 / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.188, allocations: 0 / 1.121 GB, free: 41.25 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.0005451/1.188, allocations: 466.7 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.189, allocations: 12.03 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/1.189, allocations: 10.25 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.189, allocations: 174.9 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/1.189, allocations: 42.92 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.189, allocations: 4 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/1.189, allocations: 69.25 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.189, allocations: 0 / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.189, allocations: 4 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.189, allocations: 0 / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/1.189, allocations: 30.16 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/1.19, allocations: 336.9 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/1.19, allocations: 63.52 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/1.19, allocations: 31.72 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.19, allocations: 4.844 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/1.19, allocations: 89.39 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/1.19, allocations: 0 / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002368/1.19, allocations: 115.5 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/1.19, allocations: 55.36 kB / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/1.19, allocations: 122.5 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/1.19, allocations: 33.58 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/1.191, allocations: 99.42 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/1.191, allocations: 23.73 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/1.191, allocations: 0.5625 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.191, allocations: 322.2 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/1.191, allocations: 19.69 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/1.191, allocations: 68.03 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/1.191, allocations: 31.69 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.191, allocations: 0 / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001667/1.191, allocations: 115.1 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.191, allocations: 8 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/1.191, allocations: 0 / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.191, allocations: 12.95 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/1.191, allocations: 19.31 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.191, allocations: 0 / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.191, allocations: 23.27 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.191, allocations: 8.219 kB / 1.123 GB, free: 38.98 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 6.641e-05/1.191, allocations: 112.3 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.191, allocations: 11.91 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/1.191, allocations: 8.5 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.191, allocations: 4 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.192, allocations: 1.125 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.192, allocations: 0 / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/1.192, allocations: 415 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.192, allocations: 0 / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/1.192, allocations: 15.38 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.192, allocations: 0 / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.192, allocations: 4 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.192, allocations: 8.047 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.192, allocations: 1.5 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.192, allocations: 209.6 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/1.192, allocations: 85.02 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.192, allocations: 0 / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.192, allocations: 19.08 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/1.193, allocations: 15.31 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.193, allocations: 5.062 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.446e-05/1.193, allocations: 102.6 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.193, allocations: 4.688 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003012/1.193, allocations: 55.2 kB / 1.124 GB, free: 38 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 (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.0003707/1.193, allocations: 179.8 kB / 1.124 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001561/1.193, allocations: 67.39 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.193, allocations: 0 / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/1.194, allocations: 42.75 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/1.194, allocations: 18.08 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/1.194, allocations: 125.2 kB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.194, allocations: 0.6987 MB / 1.125 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.493e-05/1.194, allocations: 12 kB / 1.125 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/1.194, allocations: 11.44 kB / 1.125 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.194, allocations: 1.031 kB / 1.125 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.004147/1.198, allocations: 1.802 MB / 1.127 GB, free: 35.94 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)