Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 114.9 kB / 16.42 MB, free: 6.48 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.001228/0.001228, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.8402/0.8402, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.55 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1507, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005165/0.1559, allocations: 3.708 MB / 0.6799 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1586, allocations: 1.324 MB / 0.6812 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.1592, allocations: 23.88 kB / 0.6812 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.1597, allocations: 130.6 kB / 0.6813 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.1604, allocations: 186.5 kB / 0.6815 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1615, allocations: 0.5742 MB / 0.6821 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009095/0.1625, allocations: 0.9721 MB / 0.683 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.163, allocations: 341.6 kB / 0.6834 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.1634, allocations: 382.3 kB / 0.6837 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.1637, allocations: 358.1 kB / 0.6841 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1638, allocations: 79.94 kB / 0.6841 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1639, allocations: 80 kB / 0.6842 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1641, allocations: 175.3 kB / 0.6844 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1644, allocations: 377.7 kB / 0.6847 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.1652, allocations: 0.9177 MB / 0.6856 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1653, allocations: 0 / 0.6856 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1653, allocations: 0 / 0.6856 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1653, allocations: 0 / 0.6856 GB, free: 0.7227 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00195/0.1672, allocations: 1.218 MB / 0.6868 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1673, allocations: 8.031 kB / 0.6868 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1674, allocations: 96.33 kB / 0.6869 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1685, allocations: 0.6189 MB / 0.6875 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.1686, allocations: 105 kB / 0.6876 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.1687, allocations: 52.38 kB / 0.6877 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1697, allocations: 0.6119 MB / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1697, allocations: 4 kB / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.1698, allocations: 20 kB / 0.6883 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1698, allocations: 12 kB / 0.6883 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.1707, allocations: 427.6 kB / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.1732, allocations: 2.099 MB / 0.6908 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.1744, allocations: 0.492 MB / 0.6913 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.1749, allocations: 216.8 kB / 0.6915 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.1749, allocations: 15.91 kB / 0.6915 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005902/0.1755, allocations: 285.9 kB / 0.6918 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.1755, allocations: 0 / 0.6918 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001371/0.1769, allocations: 0.6079 MB / 0.6923 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.177, allocations: 88.86 kB / 0.6924 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.1776, allocations: 0.6138 MB / 0.693 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.1777, allocations: 37.7 kB / 0.6931 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1779, allocations: 357.2 kB / 0.6934 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.178, allocations: 166.6 kB / 0.6936 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1782, allocations: 98.2 kB / 0.6937 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1783, allocations: 330 kB / 0.694 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.1787, allocations: 183 kB / 0.6941 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1792, allocations: 281.3 kB / 0.6944 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.1801, allocations: 473.8 kB / 0.6949 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1801, allocations: 0 / 0.6949 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001119/0.1812, allocations: 0.6102 MB / 0.6955 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.1812, allocations: 36.52 kB / 0.6955 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1813, allocations: 4 kB / 0.6955 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1813, allocations: 4 kB / 0.6955 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1817, allocations: 108.1 kB / 0.6956 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1818, allocations: 19.92 kB / 0.6956 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.1821, allocations: 59.61 kB / 0.6957 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.1822, allocations: 23.98 kB / 0.6957 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005088/0.1827, allocations: 301.2 kB / 0.696 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004269/0.1831, allocations: 268.2 kB / 0.6963 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007753/0.1839, allocations: 454 kB / 0.6967 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.1839, allocations: 4 kB / 0.6967 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001021/0.1849, allocations: 0.5791 MB / 0.6973 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.185, allocations: 41.69 kB / 0.6973 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.185, allocations: 0 / 0.6973 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.892e-06/0.185, allocations: 4 kB / 0.6973 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.1854, allocations: 103.8 kB / 0.6974 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1854, allocations: 4 kB / 0.6974 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.1858, allocations: 59.7 kB / 0.6975 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.1858, allocations: 20.22 kB / 0.6975 GB, free: 4.086 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001423/0.186, allocations: 219.3 kB / 0.6977 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.1861, allocations: 83.48 kB / 0.6978 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.1862, allocations: 83.2 kB / 0.6978 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1862, allocations: 0 / 0.6978 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1862, allocations: 0 / 0.6978 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.1864, allocations: 188.5 kB / 0.698 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.1865, allocations: 15.94 kB / 0.698 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.1869, allocations: 35.95 kB / 0.6981 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.187, allocations: 39.89 kB / 0.6981 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001336/0.1883, allocations: 0.5588 MB / 0.6987 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001485/0.1898, allocations: 0.8936 MB / 0.6995 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004153/0.1903, allocations: 203.9 kB / 0.6997 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004434/0.1907, allocations: 435 kB / 0.7001 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of Backend: time 7.31e-07/0.1907, allocations: 4 kB / 0.7001 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.1923, allocations: 0.706 MB / 0.7008 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002107/0.1945, allocations: 1.694 MB / 0.7025 GB, free: 14.84 MB / 0.545 GB Notification: Performance of Templates: time 0.01772/0.2122, allocations: 10.51 MB / 0.7128 GB, free: 4.418 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)