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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007271/0.007271, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001439/0.001438, allocations: 200.2 kB / 16.68 MB, free: 5.906 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.2 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.8212/0.8212, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.75 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1419, allocations: 82.03 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005302/0.1472, allocations: 4.11 MB / 0.6791 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1501, allocations: 1.329 MB / 0.6804 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.1507, allocations: 19.94 kB / 0.6805 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.1511, allocations: 126.7 kB / 0.6806 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.1516, allocations: 182.4 kB / 0.6807 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009596/0.1526, allocations: 417.8 kB / 0.6811 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.1538, allocations: 0.9592 MB / 0.6821 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/0.1545, allocations: 458.1 kB / 0.6825 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1549, allocations: 334.7 kB / 0.6828 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.1553, allocations: 334.3 kB / 0.6832 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.1555, allocations: 96 kB / 0.6832 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1556, allocations: 92 kB / 0.6833 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1557, allocations: 179.4 kB / 0.6835 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1561, allocations: 386 kB / 0.6839 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.1571, allocations: 1.125 MB / 0.685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1571, allocations: 0 / 0.685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1571, allocations: 0 / 0.685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.1571, allocations: 0 / 0.685 GB, free: 0.7148 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001963/0.1591, allocations: 1.073 MB / 0.686 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1592, allocations: 8.031 kB / 0.686 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.1593, allocations: 106.6 kB / 0.6861 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1594, allocations: 83.91 kB / 0.6862 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.1604, allocations: 0.5651 MB / 0.6868 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.1604, allocations: 45.69 kB / 0.6868 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.1605, allocations: 60.36 kB / 0.6869 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1616, allocations: 0.6116 MB / 0.6875 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1616, allocations: 0 / 0.6875 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.1617, allocations: 24 kB / 0.6875 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1617, allocations: 19.94 kB / 0.6875 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.1627, allocations: 457 kB / 0.6879 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.1655, allocations: 1.985 MB / 0.6899 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.1664, allocations: 449.6 kB / 0.6903 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.1668, allocations: 246 kB / 0.6905 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1669, allocations: 8.422 kB / 0.6905 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.1674, allocations: 261.2 kB / 0.6908 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.053e-06/0.1674, allocations: 3.938 kB / 0.6908 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001277/0.1687, allocations: 0.5843 MB / 0.6914 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1688, allocations: 55.84 kB / 0.6914 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.1693, allocations: 450 kB / 0.6919 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.1693, allocations: 33.7 kB / 0.6919 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1696, allocations: 321 kB / 0.6922 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1697, allocations: 169.5 kB / 0.6924 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1698, allocations: 90.25 kB / 0.6924 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.17, allocations: 366.8 kB / 0.6928 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.1704, allocations: 165 kB / 0.6929 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.1708, allocations: 253.8 kB / 0.6932 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.1716, allocations: 452 kB / 0.6936 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1716, allocations: 4 kB / 0.6936 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001039/0.1727, allocations: 0.5584 MB / 0.6942 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.1727, allocations: 33.7 kB / 0.6942 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1727, allocations: 8.234 kB / 0.6942 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1728, allocations: 8 kB / 0.6942 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.1732, allocations: 107.8 kB / 0.6943 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1733, allocations: 7.984 kB / 0.6943 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.1736, allocations: 55.52 kB / 0.6944 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.1737, allocations: 20 kB / 0.6944 GB, free: 6.691 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.0002566/0.1739, allocations: 212.8 kB / 0.6946 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.174, allocations: 63.19 kB / 0.6947 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.1742, allocations: 65.59 kB / 0.6947 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1742, allocations: 7.984 kB / 0.6947 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1742, allocations: 3.984 kB / 0.6947 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1742, allocations: 0 / 0.6947 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.176, allocations: 1.17 MB / 0.6959 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.176, allocations: 8 kB / 0.6959 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.1765, allocations: 99.81 kB / 0.696 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.1766, allocations: 4 kB / 0.696 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.1766, allocations: 8 kB / 0.696 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1766, allocations: 4 kB / 0.696 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1766, allocations: 3.938 kB / 0.696 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.178, allocations: 0.7651 MB / 0.6967 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.1782, allocations: 172.3 kB / 0.6969 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.1782, allocations: 8 kB / 0.6969 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.1785, allocations: 23.98 kB / 0.6969 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.1786, allocations: 32.39 kB / 0.697 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.1787, allocations: 19.98 kB / 0.697 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003323/0.179, allocations: 306.9 kB / 0.6973 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.179, allocations: 3.938 kB / 0.6973 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004469/0.1795, allocations: 147.4 kB / 0.6974 GB, free: 3.488 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001633/0.1811, allocations: 1.317 MB / 0.6987 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009022/0.182, allocations: 481.5 kB / 0.6992 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.182, allocations: 4 kB / 0.6992 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.1824, allocations: 218.3 kB / 0.6994 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.1832, allocations: 159.3 kB / 0.6995 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.1902, allocations: 4.781 MB / 0.7042 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.1908, allocations: 0.886 MB / 0.7051 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.1911, allocations: 64.59 kB / 0.7051 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.1914, allocations: 223.4 kB / 0.7053 GB, free: 11.18 MB / 0.545 GB Notification: Performance of SimCode: time 6.62e-07/0.1914, allocations: 0 / 0.7053 GB, free: 11.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.223, allocations: 11.52 MB / 0.7166 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.429, allocations: 11.94 kB / 0.7166 GB, free: 15.85 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)