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 1.714/1.714, allocations: 287.5 MB / 302.6 MB, free: 8.316 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.00151/0.00151, allocations: 190.3 kB / 371.2 MB, free: 10.82 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.614/1.614, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008343/0.0008343, allocations: 98.58 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 15.02 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001616/0.2317, allocations: 1.222 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.233, allocations: 0.7463 MB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.233, allocations: 4 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2331, allocations: 3.938 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2332, allocations: 7.875 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.2338, allocations: 103.8 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2339, allocations: 75.78 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.234, allocations: 15.98 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2341, allocations: 35.84 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.2342, allocations: 39.83 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2342, allocations: 4 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2344, allocations: 83.84 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.2344, allocations: 19.97 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.2345, allocations: 41.64 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.2347, allocations: 104 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2347, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2347, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2347, allocations: 0 / 0.9811 GB, free: 25.67 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.0006992/0.2354, allocations: 466.6 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2355, allocations: 8.031 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.2355, allocations: 8.844 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2356, allocations: 196 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.2357, allocations: 34.27 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.2357, allocations: 4.375 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2359, allocations: 89.7 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.236, allocations: 4 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.236, allocations: 3.984 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.236, allocations: 0 / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2362, allocations: 51.97 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.2367, allocations: 324.7 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2369, allocations: 70.55 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.237, allocations: 40.83 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.237, allocations: 4 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.2373, allocations: 99.39 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2373, allocations: 0 / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004355/0.2377, allocations: 177.5 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.2378, allocations: 51.56 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.2378, allocations: 135.7 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2379, allocations: 29.7 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.2379, allocations: 96.34 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2379, allocations: 23.66 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.2379, allocations: 8 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.238, allocations: 322.8 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.2381, allocations: 31.98 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2382, allocations: 69.12 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2384, allocations: 117 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2384, allocations: 0 / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002652/0.2387, allocations: 141.5 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2387, allocations: 8 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2387, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2388, allocations: 3.984 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2389, allocations: 20.36 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2389, allocations: 7.922 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.239, allocations: 20.12 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2391, allocations: 7.984 kB / 0.9837 GB, free: 22.78 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 7e-05/0.2391, allocations: 125.7 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.2392, allocations: 7.906 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2392, allocations: 12.72 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2392, allocations: 0 / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2392, allocations: 0 / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2392, allocations: 7.984 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.2397, allocations: 438.2 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2397, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.2398, allocations: 19.92 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2398, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2398, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2398, allocations: 7.922 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2398, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2401, allocations: 227.3 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.2402, allocations: 89.02 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2402, allocations: 4 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2403, allocations: 15.92 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2404, allocations: 19.97 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2404, allocations: 0 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.2404, allocations: 104.4 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2405, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003004/0.2408, allocations: 39.98 kB / 0.9847 GB, free: 21.59 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.0003017/0.2411, allocations: 167.7 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.2414, allocations: 95.89 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2414, allocations: 0 / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2415, allocations: 47.97 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.2418, allocations: 21.14 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.2422, allocations: 235.1 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2423, allocations: 0.6926 MB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.2424, allocations: 12.66 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2424, allocations: 15.42 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2424, allocations: 0 / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.003879/0.2463, allocations: 1.615 MB / 0.9876 GB, free: 18.66 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)