Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001245/0.001245, allocations: 187 kB / 17.34 MB, free: 5.719 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.14 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.8228/0.8228, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.22 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004305/0.154, allocations: 3.122 MB / 0.6793 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1559, allocations: 0.97 MB / 0.6803 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.1562, allocations: 15.94 kB / 0.6803 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1565, allocations: 75.19 kB / 0.6804 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1568, allocations: 103.1 kB / 0.6805 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.1574, allocations: 238.7 kB / 0.6807 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.158, allocations: 0.5543 MB / 0.6812 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.1584, allocations: 255.5 kB / 0.6815 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1587, allocations: 207.1 kB / 0.6817 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.159, allocations: 214.8 kB / 0.6819 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.1591, allocations: 52 kB / 0.6819 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.1591, allocations: 52 kB / 0.682 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.1592, allocations: 107.6 kB / 0.6821 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1594, allocations: 238.7 kB / 0.6823 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.16, allocations: 0.611 MB / 0.6829 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.16, allocations: 8 kB / 0.6829 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.16, allocations: 0 / 0.6829 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.16, allocations: 0 / 0.6829 GB, free: 3.516 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001209/0.1613, allocations: 0.7661 MB / 0.6837 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1613, allocations: 8.031 kB / 0.6837 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.1614, allocations: 56.28 kB / 0.6837 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.162, allocations: 420.6 kB / 0.6841 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1621, allocations: 29.38 kB / 0.6841 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.1621, allocations: 36.38 kB / 0.6842 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.1627, allocations: 409.9 kB / 0.6846 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1628, allocations: 0 / 0.6846 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.1628, allocations: 16 kB / 0.6846 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1628, allocations: 8 kB / 0.6846 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.1633, allocations: 267.8 kB / 0.6849 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.1649, allocations: 1.309 MB / 0.6861 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.1656, allocations: 315.3 kB / 0.6864 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1659, allocations: 141.5 kB / 0.6866 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1659, allocations: 0 / 0.6866 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.1662, allocations: 170.1 kB / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.1662, allocations: 0 / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0007598/0.167, allocations: 386.6 kB / 0.6871 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.167, allocations: 89.09 kB / 0.6872 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1674, allocations: 345.6 kB / 0.6875 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1674, allocations: 37.7 kB / 0.6875 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1676, allocations: 232.9 kB / 0.6878 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.1677, allocations: 102.5 kB / 0.6879 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1678, allocations: 77.97 kB / 0.6879 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1679, allocations: 350.8 kB / 0.6883 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1681, allocations: 104.6 kB / 0.6884 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1684, allocations: 168.4 kB / 0.6885 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.1688, allocations: 251.9 kB / 0.6888 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1688, allocations: 11.94 kB / 0.6888 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005749/0.1694, allocations: 350.4 kB / 0.6891 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1694, allocations: 8 kB / 0.6891 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1694, allocations: 0 / 0.6891 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1694, allocations: 7.938 kB / 0.6891 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1697, allocations: 67.89 kB / 0.6892 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1697, allocations: 8.188 kB / 0.6892 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1699, allocations: 35.67 kB / 0.6892 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1699, allocations: 20 kB / 0.6893 GB, free: 12.69 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0001736/0.1701, allocations: 173.7 kB / 0.6894 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1701, allocations: 39.53 kB / 0.6895 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.523e-05/0.1702, allocations: 44.25 kB / 0.6895 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1702, allocations: 4 kB / 0.6895 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1703, allocations: 7.984 kB / 0.6895 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1703, allocations: 3.984 kB / 0.6895 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.1712, allocations: 0.8042 MB / 0.6903 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1713, allocations: 0 / 0.6903 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1715, allocations: 47.92 kB / 0.6904 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1715, allocations: 0 / 0.6904 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1715, allocations: 11.98 kB / 0.6904 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1715, allocations: 0 / 0.6904 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1715, allocations: 4 kB / 0.6904 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007605/0.1723, allocations: 0.5245 MB / 0.6909 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1724, allocations: 136.5 kB / 0.691 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.1725, allocations: 8 kB / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1727, allocations: 16.05 kB / 0.691 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.1727, allocations: 27.95 kB / 0.6911 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1728, allocations: 8 kB / 0.6911 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002107/0.173, allocations: 243.2 kB / 0.6913 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.173, allocations: 0 / 0.6913 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003265/0.1733, allocations: 95.62 kB / 0.6914 GB, free: 10.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.0001145/0.1734, allocations: 107.2 kB / 0.6915 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.1739, allocations: 272 kB / 0.6918 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.174, allocations: 0 / 0.6918 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.1742, allocations: 131.8 kB / 0.6919 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1747, allocations: 90.36 kB / 0.692 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.176, allocations: 0.8318 MB / 0.6928 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1763, allocations: 0.8074 MB / 0.6936 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1764, allocations: 35.42 kB / 0.6936 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1764, allocations: 4 kB / 0.6936 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.006338/0.1828, allocations: 4.878 MB / 0.6984 GB, free: 3.207 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)