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.004676/0.004676, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001173/0.001173, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.184/1.184, allocations: 222.9 MB / 240.4 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.7594/0.7594, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 58.75 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 82.03 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00492/0.146, allocations: 4.111 MB / 0.6796 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1482, allocations: 1.321 MB / 0.6809 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.1485, allocations: 27.88 kB / 0.6809 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1488, allocations: 126.7 kB / 0.681 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1491, allocations: 178.4 kB / 0.6812 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.15, allocations: 425.9 kB / 0.6816 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.1509, allocations: 0.9554 MB / 0.6826 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006139/0.1515, allocations: 454.1 kB / 0.683 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1518, allocations: 342.7 kB / 0.6833 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.1522, allocations: 334.4 kB / 0.6836 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1523, allocations: 92 kB / 0.6837 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1524, allocations: 92 kB / 0.6838 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1525, allocations: 179.4 kB / 0.684 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.1528, allocations: 386.1 kB / 0.6843 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008633/0.1537, allocations: 1.129 MB / 0.6855 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1537, allocations: 0 / 0.6855 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1537, allocations: 0 / 0.6855 GB, free: 220 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.1537, allocations: 0 / 0.6855 GB, free: 220 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.001576/0.1553, allocations: 1.069 MB / 0.6865 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1554, allocations: 8.031 kB / 0.6865 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1555, allocations: 83.91 kB / 0.6866 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.1562, allocations: 0.5689 MB / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.1563, allocations: 45.69 kB / 0.6872 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.1563, allocations: 56.38 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.1573, allocations: 0.6117 MB / 0.6878 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1573, allocations: 3.984 kB / 0.6878 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1574, allocations: 24 kB / 0.6879 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1574, allocations: 12 kB / 0.6879 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.1583, allocations: 461 kB / 0.6883 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.1607, allocations: 1.989 MB / 0.6903 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.1615, allocations: 447 kB / 0.6907 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.1619, allocations: 246.1 kB / 0.6909 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.162, allocations: 4.438 kB / 0.6909 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.1624, allocations: 261.3 kB / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 3.266e-06/0.1625, allocations: 0 / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001146/0.1636, allocations: 0.5921 MB / 0.6917 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1637, allocations: 59.84 kB / 0.6918 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.1641, allocations: 446 kB / 0.6922 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1641, allocations: 37.64 kB / 0.6923 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.1643, allocations: 324.3 kB / 0.6926 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1644, allocations: 165.5 kB / 0.6927 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1646, allocations: 90.25 kB / 0.6928 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1647, allocations: 370.8 kB / 0.6932 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1651, allocations: 165 kB / 0.6933 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.1655, allocations: 249.8 kB / 0.6936 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.1662, allocations: 452 kB / 0.694 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1662, allocations: 0 / 0.694 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009214/0.1672, allocations: 0.5585 MB / 0.6945 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.1672, allocations: 41.62 kB / 0.6946 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1672, allocations: 0 / 0.6946 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1672, allocations: 4 kB / 0.6946 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.1677, allocations: 115.8 kB / 0.6947 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1677, allocations: 4 kB / 0.6947 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.168, allocations: 59.77 kB / 0.6948 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.168, allocations: 27.98 kB / 0.6948 GB, free: 6.297 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.000207/0.1682, allocations: 205.7 kB / 0.695 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.1683, allocations: 63.19 kB / 0.695 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1684, allocations: 61.58 kB / 0.6951 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1684, allocations: 4 kB / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1684, allocations: 0 / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1684, allocations: 0 / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.1699, allocations: 1.182 MB / 0.6963 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.17, allocations: 4 kB / 0.6963 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.1704, allocations: 95.88 kB / 0.6964 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1704, allocations: 0 / 0.6964 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1704, allocations: 8 kB / 0.6964 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1705, allocations: 0 / 0.6964 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1705, allocations: 7.984 kB / 0.6964 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1716, allocations: 0.7612 MB / 0.6971 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1718, allocations: 172.3 kB / 0.6973 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.1719, allocations: 15.94 kB / 0.6973 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.1721, allocations: 23.97 kB / 0.6973 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.1722, allocations: 36.39 kB / 0.6973 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.1723, allocations: 12 kB / 0.6974 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002886/0.1725, allocations: 310.9 kB / 0.6977 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1726, allocations: 0 / 0.6977 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003868/0.1729, allocations: 143.4 kB / 0.6978 GB, free: 3.113 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.0002079/0.1732, allocations: 115.2 kB / 0.6979 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008496/0.174, allocations: 481 kB / 0.6984 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.174, allocations: 3.938 kB / 0.6984 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.1744, allocations: 222.8 kB / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.1751, allocations: 166.6 kB / 0.6987 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.1774, allocations: 1.334 MB / 0.7 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.1779, allocations: 0.886 MB / 0.7009 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000232/0.1781, allocations: 68.58 kB / 0.701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1783, allocations: 43.42 kB / 0.701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.1783, allocations: 0 / 0.701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Templates: time 0.0105/0.1888, allocations: 6.142 MB / 0.707 GB, free: 9.691 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)