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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.729/2.729, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001557/0.001557, allocations: 192.2 kB / 370.8 MB, free: 10.84 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.485/2.485, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.001228/0.001228, allocations: 92.83 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005174, allocations: 15.77 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2228, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001828/0.2247, allocations: 1.207 MB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2262, allocations: 0.7503 MB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.2263, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.2264, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2265, allocations: 23.89 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.227, allocations: 95.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2271, allocations: 55.86 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2272, allocations: 15.98 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2274, allocations: 31.91 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.2275, allocations: 39.83 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2275, allocations: 4 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.2277, allocations: 71.81 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.2277, allocations: 15.97 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2278, allocations: 37.64 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.228, allocations: 104 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.228, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.756e-06/0.228, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.228, allocations: 7.938 kB / 0.9806 GB, free: 25.89 MB / 0.6198 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.0008664/0.2289, allocations: 466.5 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.229, allocations: 8.031 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.229, allocations: 7.906 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2292, allocations: 174.9 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.2293, allocations: 41.69 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.2293, allocations: 11.94 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.2296, allocations: 73.64 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2296, allocations: 4 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2297, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2297, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.23, allocations: 55.95 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.2307, allocations: 328.6 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.231, allocations: 74.53 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.231, allocations: 4 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.2314, allocations: 95.39 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/0.2314, allocations: 0 / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007169/0.2321, allocations: 177.7 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.2322, allocations: 55.41 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2323, allocations: 131.9 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2323, allocations: 33.64 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.2324, allocations: 96.36 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2324, allocations: 23.66 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.2325, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.2325, allocations: 322.8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.2327, allocations: 31.97 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.2329, allocations: 69.12 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.2331, allocations: 43.92 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2331, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004475/0.2336, allocations: 149.4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2336, allocations: 4 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2336, allocations: 0 / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2337, allocations: 4 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2339, allocations: 19.94 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2339, allocations: 4 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2341, allocations: 19.98 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2341, allocations: 8.062 kB / 0.983 GB, free: 23.15 MB / 0.6198 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,occ.y,$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.0001149/0.2342, allocations: 131.6 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2343, allocations: 11.91 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2343, allocations: 8.719 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2343, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2343, allocations: 3.953 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2344, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.2352, allocations: 434.5 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2353, allocations: 0 / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2354, allocations: 15.92 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2354, allocations: 0 / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2354, allocations: 11.95 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2354, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2355, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.2359, allocations: 239.3 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.236, allocations: 81.02 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.236, allocations: 4 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2362, allocations: 23.94 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.2364, allocations: 7.984 kB / 0.9839 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.2364, allocations: 7.984 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.2365, allocations: 99.27 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2365, allocations: 0 / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004358/0.2369, allocations: 43.98 kB / 0.9841 GB, free: 21.95 MB / 0.6198 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 (occ.y,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.0004131/0.2374, allocations: 159 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.2378, allocations: 87.83 kB / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2378, allocations: 4.25 kB / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.238, allocations: 51.97 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2383, allocations: 12.2 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.2389, allocations: 231 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2391, allocations: 0.6965 MB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.2392, allocations: 16.83 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.2393, allocations: 11.44 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.2393, allocations: 4 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.005606/0.2449, allocations: 1.617 MB / 0.9869 GB, free: 19.02 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (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 & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)