Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 105.3 kB / 16.41 MB, free: 6.516 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.001396/0.001396, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.341/1.341, 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.8576/0.8576, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.69 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005026/0.1444, allocations: 4.114 MB / 0.6803 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.1468, allocations: 1.317 MB / 0.6816 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.1472, allocations: 27.88 kB / 0.6816 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1475, allocations: 126.7 kB / 0.6817 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.1478, allocations: 186.4 kB / 0.6819 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.1486, allocations: 422.6 kB / 0.6823 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.1494, allocations: 0.9592 MB / 0.6832 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.15, allocations: 454.1 kB / 0.6837 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.1503, allocations: 342.7 kB / 0.684 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1507, allocations: 330.4 kB / 0.6843 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1508, allocations: 88 kB / 0.6844 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1509, allocations: 92 kB / 0.6845 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.151, allocations: 179.4 kB / 0.6847 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.1513, allocations: 390.1 kB / 0.685 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.1522, allocations: 1.129 MB / 0.6861 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1523, allocations: 0 / 0.6861 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1523, allocations: 0 / 0.6861 GB, free: 212 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.1523, allocations: 0 / 0.6861 GB, free: 212 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001707/0.154, allocations: 1.065 MB / 0.6872 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.154, allocations: 12.02 kB / 0.6872 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1542, allocations: 83.91 kB / 0.6873 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.1551, allocations: 0.5728 MB / 0.6878 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.1551, allocations: 49.67 kB / 0.6879 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.1552, allocations: 52.38 kB / 0.6879 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1562, allocations: 0.6117 MB / 0.6885 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1563, allocations: 0 / 0.6885 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.1563, allocations: 28 kB / 0.6885 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1563, allocations: 12 kB / 0.6886 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.1573, allocations: 464.9 kB / 0.689 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.16, allocations: 1.981 MB / 0.6909 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008782/0.1609, allocations: 443 kB / 0.6914 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.1613, allocations: 250 kB / 0.6916 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1614, allocations: 4.438 kB / 0.6916 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.1619, allocations: 261.3 kB / 0.6919 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.1619, allocations: 0 / 0.6919 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001224/0.1631, allocations: 0.5883 MB / 0.6924 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1632, allocations: 71.72 kB / 0.6925 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.1636, allocations: 442 kB / 0.6929 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1637, allocations: 37.7 kB / 0.693 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1639, allocations: 320.3 kB / 0.6933 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.164, allocations: 169.5 kB / 0.6934 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1642, allocations: 90.25 kB / 0.6935 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1643, allocations: 366.8 kB / 0.6939 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.1647, allocations: 173 kB / 0.694 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1651, allocations: 245.8 kB / 0.6943 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.166, allocations: 456 kB / 0.6947 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.166, allocations: 0 / 0.6947 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001028/0.1671, allocations: 0.5585 MB / 0.6952 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.1671, allocations: 33.64 kB / 0.6953 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1671, allocations: 4 kB / 0.6953 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1672, allocations: 4 kB / 0.6953 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.1676, allocations: 115.8 kB / 0.6954 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1677, allocations: 7.984 kB / 0.6954 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.168, allocations: 55.77 kB / 0.6954 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.168, allocations: 20 kB / 0.6955 GB, free: 6.293 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002386/0.1683, allocations: 212.8 kB / 0.6957 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.1684, allocations: 63.19 kB / 0.6957 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.1685, allocations: 61.59 kB / 0.6958 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1685, allocations: 3.984 kB / 0.6958 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1685, allocations: 0 / 0.6958 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.1687, allocations: 172.3 kB / 0.696 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.1688, allocations: 15.94 kB / 0.696 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.1691, allocations: 23.97 kB / 0.696 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.1691, allocations: 36.39 kB / 0.696 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001286/0.1704, allocations: 0.5543 MB / 0.6966 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001342/0.1718, allocations: 0.8453 MB / 0.6974 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003808/0.1722, allocations: 211.4 kB / 0.6976 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003273/0.1725, allocations: 310.9 kB / 0.6979 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of Backend: time 6.71e-07/0.1725, allocations: 0 / 0.6979 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008979/0.1734, allocations: 415.8 kB / 0.6983 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002206/0.1757, allocations: 1.705 MB / 0.7 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.01184/0.1875, allocations: 7.099 MB / 0.7069 GB, free: 10.57 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)