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.001152/0.001152, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001164/0.001164, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.322/1.322, 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.8677/0.8677, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.36 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.004523/0.1442, allocations: 3.701 MB / 0.6799 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1465, allocations: 1.332 MB / 0.6812 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.1469, allocations: 23.88 kB / 0.6812 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.1472, allocations: 134.6 kB / 0.6814 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.1477, allocations: 186.5 kB / 0.6815 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1488, allocations: 0.5631 MB / 0.6821 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.1499, allocations: 0.9682 MB / 0.683 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.1505, allocations: 345.6 kB / 0.6834 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.151, allocations: 378.3 kB / 0.6837 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.1515, allocations: 358.1 kB / 0.6841 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1516, allocations: 76 kB / 0.6841 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1517, allocations: 80 kB / 0.6842 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1518, allocations: 179.3 kB / 0.6844 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.1522, allocations: 381.7 kB / 0.6847 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.153, allocations: 0.9145 MB / 0.6856 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.153, allocations: 4 kB / 0.6856 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.223e-06/0.153, allocations: 0 / 0.6856 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.153, allocations: 0 / 0.6856 GB, free: 0.7461 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.001936/0.155, allocations: 1.186 MB / 0.6868 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.155, allocations: 8.031 kB / 0.6868 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1552, allocations: 91.81 kB / 0.6869 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.1562, allocations: 0.6222 MB / 0.6875 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1563, allocations: 96.95 kB / 0.6876 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.1564, allocations: 56.38 kB / 0.6876 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1574, allocations: 0.6158 MB / 0.6882 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1575, allocations: 0 / 0.6882 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.1575, allocations: 20 kB / 0.6883 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1575, allocations: 12 kB / 0.6883 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.1585, allocations: 427.6 kB / 0.6887 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.1611, allocations: 2.106 MB / 0.6907 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1623, allocations: 0.492 MB / 0.6912 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.1628, allocations: 212.8 kB / 0.6914 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.1629, allocations: 4 kB / 0.6914 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006282/0.1635, allocations: 289.9 kB / 0.6917 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.1635, allocations: 0 / 0.6917 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001434/0.165, allocations: 0.6073 MB / 0.6923 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.165, allocations: 88.86 kB / 0.6924 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.1657, allocations: 0.6061 MB / 0.693 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.1658, allocations: 37.7 kB / 0.693 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.166, allocations: 356.8 kB / 0.6933 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1661, allocations: 165.7 kB / 0.6935 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1663, allocations: 86.25 kB / 0.6936 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1664, allocations: 330 kB / 0.6939 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.1669, allocations: 179 kB / 0.6941 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.1674, allocations: 285.3 kB / 0.6943 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.1683, allocations: 473.8 kB / 0.6948 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1683, allocations: 0 / 0.6948 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001174/0.1695, allocations: 0.6059 MB / 0.6954 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1695, allocations: 36.2 kB / 0.6954 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1696, allocations: 4 kB / 0.6954 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1696, allocations: 4 kB / 0.6954 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.1701, allocations: 116.1 kB / 0.6955 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1701, allocations: 11.92 kB / 0.6956 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.1705, allocations: 59.42 kB / 0.6956 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.1705, allocations: 23.98 kB / 0.6956 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005534/0.1711, allocations: 301.2 kB / 0.6959 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004498/0.1716, allocations: 272.2 kB / 0.6962 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008123/0.1724, allocations: 454 kB / 0.6966 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1724, allocations: 0 / 0.6966 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001069/0.1735, allocations: 0.5787 MB / 0.6972 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.1735, allocations: 41.69 kB / 0.6972 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1735, allocations: 0 / 0.6972 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.1735, allocations: 8 kB / 0.6972 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.174, allocations: 95.89 kB / 0.6973 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.174, allocations: 7.938 kB / 0.6973 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.1743, allocations: 55.91 kB / 0.6974 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.1744, allocations: 16 kB / 0.6974 GB, free: 4.184 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.0001696/0.1746, allocations: 220.9 kB / 0.6976 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1747, allocations: 75 kB / 0.6977 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1748, allocations: 83.2 kB / 0.6978 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1749, allocations: 3.984 kB / 0.6978 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1749, allocations: 0 / 0.6978 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.1751, allocations: 188 kB / 0.6979 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.1752, allocations: 16 kB / 0.698 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.1756, allocations: 31.95 kB / 0.698 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.1757, allocations: 43.89 kB / 0.698 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001389/0.1771, allocations: 0.555 MB / 0.6986 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001567/0.1787, allocations: 0.8931 MB / 0.6994 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004315/0.1791, allocations: 203.9 kB / 0.6996 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004779/0.1796, allocations: 439 kB / 0.7001 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of Backend: time 7.82e-07/0.1796, allocations: 0 / 0.7001 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.1811, allocations: 0.7093 MB / 0.7007 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002211/0.1834, allocations: 1.667 MB / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Templates: time 0.01677/0.2001, allocations: 10.52 MB / 0.7126 GB, free: 4.539 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)