Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.546/1.546, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009631/0.0009632, allocations: 180.5 kB / 372.9 MB, free: 10.16 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.274/1.274, allocations: 205.4 MB / 0.6316 GB, free: 9.945 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.0007346/0.0007345, allocations: 108 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 11.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001269/0.1611, allocations: 1.222 MB / 0.9819 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.162, allocations: 0.7461 MB / 0.9827 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.1621, allocations: 0 / 0.9827 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.1621, allocations: 11.92 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.1622, allocations: 7.875 kB / 0.9827 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1626, allocations: 99.77 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.1627, allocations: 79.7 kB / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.1628, allocations: 11.98 kB / 0.9829 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.1628, allocations: 31.91 kB / 0.9829 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1629, allocations: 39.84 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1629, allocations: 4 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1631, allocations: 87.84 kB / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.1631, allocations: 23.89 kB / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1632, allocations: 57.56 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1633, allocations: 104 kB / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1633, allocations: 0 / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1633, allocations: 0 / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1633, allocations: 0 / 0.9832 GB, free: 24.84 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.0005675/0.1639, allocations: 466.6 kB / 0.9836 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1639, allocations: 8.031 kB / 0.9836 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.164, allocations: 12.84 kB / 0.9837 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.1641, allocations: 187 kB / 0.9838 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.1641, allocations: 34.27 kB / 0.9839 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1642, allocations: 8.375 kB / 0.9839 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1643, allocations: 81.77 kB / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1644, allocations: 0 / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1644, allocations: 3.938 kB / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1644, allocations: 4 kB / 0.984 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1646, allocations: 55.89 kB / 0.984 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.165, allocations: 324.8 kB / 0.9843 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1652, allocations: 66.55 kB / 0.9844 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.1653, allocations: 45 kB / 0.9844 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1653, allocations: 7.969 kB / 0.9844 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1655, allocations: 95.39 kB / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.1655, allocations: 0 / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004336/0.166, allocations: 177.5 kB / 0.9847 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.166, allocations: 51.41 kB / 0.9847 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.1661, allocations: 134 kB / 0.9849 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1661, allocations: 33.7 kB / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.1661, allocations: 92.38 kB / 0.985 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1662, allocations: 27.64 kB / 0.985 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1662, allocations: 4 kB / 0.985 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.1662, allocations: 326.7 kB / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.1663, allocations: 31.98 kB / 0.9854 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1664, allocations: 69.12 kB / 0.9854 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1666, allocations: 117 kB / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1666, allocations: 0 / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002543/0.1669, allocations: 141.4 kB / 0.9857 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1669, allocations: 8 kB / 0.9857 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1669, allocations: 0 / 0.9857 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.167, allocations: 4 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1671, allocations: 20.11 kB / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1671, allocations: 3.938 kB / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1672, allocations: 16.36 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1672, allocations: 4 kB / 0.9857 GB, free: 21.96 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 6.241e-05/0.1673, allocations: 128 kB / 0.9859 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.1673, allocations: 7.906 kB / 0.9859 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1673, allocations: 20.66 kB / 0.9859 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1673, allocations: 0 / 0.9859 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1674, allocations: 0 / 0.9859 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.1674, allocations: 92.94 kB / 0.986 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1674, allocations: 4 kB / 0.986 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.1675, allocations: 15.92 kB / 0.986 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1676, allocations: 7.984 kB / 0.986 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003437/0.1679, allocations: 236.8 kB / 0.9862 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002774/0.1682, allocations: 314.5 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001113/0.1683, allocations: 47.97 kB / 0.9866 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.1684, allocations: 100.8 kB / 0.9867 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of Backend: time 4.21e-07/0.1684, allocations: 0 / 0.9867 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.169, allocations: 196.2 kB / 0.9869 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003659/0.1694, allocations: 0.6607 MB / 0.9875 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.003549/0.1729, allocations: 1.71 MB / 0.9892 GB, free: 18.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)