Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 116.7 kB / 16.37 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 189.1 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7871/0.7871, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.58 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1473, allocations: 82.03 MB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002302/0.1497, allocations: 1.472 MB / 0.6776 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006373/0.1503, allocations: 446.8 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.1504, allocations: 4 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.1504, allocations: 7.875 kB / 0.6781 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.1505, allocations: 7.922 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.1506, allocations: 19.98 kB / 0.6781 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.1507, allocations: 59.77 kB / 0.6782 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1508, allocations: 15.98 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.1509, allocations: 11.98 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.151, allocations: 31.84 kB / 0.6782 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.151, allocations: 8 kB / 0.6782 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.151, allocations: 4 kB / 0.6782 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.151, allocations: 4 kB / 0.6782 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1511, allocations: 31.84 kB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.1512, allocations: 47.75 kB / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1512, allocations: 0 / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1512, allocations: 0 / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1512, allocations: 0 / 0.6783 GB, free: 8.238 MB / 0.5137 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.0004601/0.1517, allocations: 355.5 kB / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1517, allocations: 12.03 kB / 0.6787 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1517, allocations: 8.844 kB / 0.6787 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1518, allocations: 168.3 kB / 0.6788 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1519, allocations: 4.375 kB / 0.6788 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1519, allocations: 4.375 kB / 0.6788 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.152, allocations: 61.92 kB / 0.6789 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.152, allocations: 0 / 0.6789 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.152, allocations: 8 kB / 0.6789 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.152, allocations: 3.938 kB / 0.6789 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.1521, allocations: 19.98 kB / 0.6789 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1525, allocations: 316.6 kB / 0.6792 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.1526, allocations: 46.62 kB / 0.6793 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.1527, allocations: 24.89 kB / 0.6793 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1527, allocations: 0 / 0.6793 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.1528, allocations: 83.41 kB / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1528, allocations: 3.938 kB / 0.6794 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0001945/0.153, allocations: 97.61 kB / 0.6795 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1531, allocations: 51.41 kB / 0.6795 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.1531, allocations: 113.8 kB / 0.6796 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1532, allocations: 25.7 kB / 0.6797 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1532, allocations: 88.14 kB / 0.6797 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1532, allocations: 27.66 kB / 0.6798 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1533, allocations: 25.7 kB / 0.6798 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1534, allocations: 318.8 kB / 0.6801 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.1534, allocations: 15.98 kB / 0.6801 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.1535, allocations: 47.42 kB / 0.6802 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.1535, allocations: 71.55 kB / 0.6802 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1536, allocations: 4 kB / 0.6802 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.1537, allocations: 97.55 kB / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1537, allocations: 4 kB / 0.6803 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1537, allocations: 4 kB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1537, allocations: 0 / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1538, allocations: 11.98 kB / 0.6803 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1538, allocations: 4 kB / 0.6803 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.1539, allocations: 7.906 kB / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.1539, allocations: 4.031 kB / 0.6804 GB, free: 5.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.154, allocations: 134.6 kB / 0.6805 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.154, allocations: 3.938 kB / 0.6805 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.154, allocations: 11.97 kB / 0.6805 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.154, allocations: 0 / 0.6805 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1541, allocations: 0 / 0.6805 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1541, allocations: 0 / 0.6805 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1544, allocations: 366.7 kB / 0.6809 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1544, allocations: 0 / 0.6809 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.1544, allocations: 7.984 kB / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1545, allocations: 0 / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1545, allocations: 4.094 kB / 0.6809 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1545, allocations: 7.875 kB / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1545, allocations: 0 / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1546, allocations: 179.5 kB / 0.681 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.1547, allocations: 81.02 kB / 0.6811 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1547, allocations: 8 kB / 0.6811 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.1548, allocations: 11.92 kB / 0.6811 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1548, allocations: 8 kB / 0.6811 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1548, allocations: 0 / 0.6811 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.1549, allocations: 87.27 kB / 0.6812 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1549, allocations: 0 / 0.6812 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002175/0.1551, allocations: 12 kB / 0.6812 GB, free: 4.887 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.1552, allocations: 107.2 kB / 0.6813 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1553, allocations: 51.91 kB / 0.6814 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1553, allocations: 0 / 0.6814 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.1554, allocations: 24 kB / 0.6814 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1556, allocations: 15.33 kB / 0.6814 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.156, allocations: 191 kB / 0.6816 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1563, allocations: 0.6885 MB / 0.6823 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1563, allocations: 15.42 kB / 0.6823 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1563, allocations: 0 / 0.6823 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.001966/0.1583, allocations: 0.8627 MB / 0.6831 GB, free: 2.879 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)