Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 119.9 kB / 17.76 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 187 kB / 20.69 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 246.4 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.056/1.056, allocations: 147.7 MB / 446.2 MB, free: 8.375 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 69.19 kB / 0.6121 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1354, allocations: 83.16 MB / 0.6933 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.003574/0.139, allocations: 2.141 MB / 0.6954 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1417, allocations: 1.688 MB / 0.6971 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.142, allocations: 8.25 kB / 0.6971 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1423, allocations: 88.44 kB / 0.6971 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1425, allocations: 84.69 kB / 0.6972 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1436, allocations: 431.6 kB / 0.6976 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.1445, allocations: 0.7872 MB / 0.6984 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.145, allocations: 388.5 kB / 0.6988 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.1454, allocations: 300.1 kB / 0.6991 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.1458, allocations: 326.5 kB / 0.6994 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1459, allocations: 87.94 kB / 0.6995 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1461, allocations: 99.98 kB / 0.6996 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1462, allocations: 155.5 kB / 0.6997 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1466, allocations: 334.3 kB / 0.7 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.1476, allocations: 0.9182 MB / 0.7009 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1476, allocations: 0 / 0.7009 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1476, allocations: 0 / 0.7009 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.1476, allocations: 0 / 0.7009 GB, free: 6.602 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001785/0.1494, allocations: 0.9865 MB / 0.7019 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1494, allocations: 12.03 kB / 0.7019 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1496, allocations: 76.52 kB / 0.702 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.1502, allocations: 426.2 kB / 0.7024 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.1502, allocations: 45.62 kB / 0.7024 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1504, allocations: 68.33 kB / 0.7025 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.1513, allocations: 0.5236 MB / 0.703 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1513, allocations: 8.188 kB / 0.703 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1514, allocations: 23.94 kB / 0.703 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1514, allocations: 12 kB / 0.703 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.1522, allocations: 365 kB / 0.7034 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.1549, allocations: 1.655 MB / 0.705 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.156, allocations: 0.8941 MB / 0.7059 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.1565, allocations: 243.5 kB / 0.7061 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1565, allocations: 8.375 kB / 0.7061 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.157, allocations: 273.3 kB / 0.7064 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.806e-06/0.1571, allocations: 4 kB / 0.7064 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.001254/0.1583, allocations: 0.5808 MB / 0.7069 GB, free: 112 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.1584, allocations: 115.2 kB / 0.707 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.1589, allocations: 397.7 kB / 0.7074 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.159, allocations: 45.7 kB / 0.7075 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.1593, allocations: 273.3 kB / 0.7077 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.1594, allocations: 178.5 kB / 0.7079 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1596, allocations: 114.2 kB / 0.708 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1598, allocations: 358.7 kB / 0.7084 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.1604, allocations: 215 kB / 0.7086 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.1609, allocations: 307.4 kB / 0.7089 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.1619, allocations: 499.5 kB / 0.7093 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1619, allocations: 3.938 kB / 0.7093 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001348/0.1633, allocations: 0.6769 MB / 0.71 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.1633, allocations: 71.39 kB / 0.7101 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1634, allocations: 0 / 0.7101 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1634, allocations: 4 kB / 0.7101 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.1638, allocations: 95.83 kB / 0.7102 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1638, allocations: 11.92 kB / 0.7102 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.1644, allocations: 111.7 kB / 0.7103 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.1644, allocations: 27.98 kB / 0.7103 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005688/0.165, allocations: 317.1 kB / 0.7106 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004623/0.1655, allocations: 287.4 kB / 0.7109 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006852/0.1662, allocations: 455.5 kB / 0.7113 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.1662, allocations: 0 / 0.7113 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001119/0.1673, allocations: 0.6223 MB / 0.7119 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.1674, allocations: 67.41 kB / 0.712 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1674, allocations: 3.984 kB / 0.712 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.1674, allocations: 4 kB / 0.712 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.1678, allocations: 88 kB / 0.7121 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1678, allocations: 8 kB / 0.7121 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.1684, allocations: 91.66 kB / 0.7122 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.1684, allocations: 31.98 kB / 0.7122 GB, free: 10.46 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0003212/0.1688, allocations: 225.6 kB / 0.7124 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.1689, allocations: 51.67 kB / 0.7125 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.1699, allocations: 465.6 kB / 0.7129 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.1699, allocations: 8 kB / 0.7129 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1699, allocations: 0 / 0.7129 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1699, allocations: 3.984 kB / 0.7129 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.1721, allocations: 1.225 MB / 0.7141 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1721, allocations: 4.188 kB / 0.7141 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.1725, allocations: 87.89 kB / 0.7142 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.1725, allocations: 7.984 kB / 0.7142 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1726, allocations: 12 kB / 0.7142 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.1726, allocations: 7.938 kB / 0.7142 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1726, allocations: 3.938 kB / 0.7142 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.1739, allocations: 0.7887 MB / 0.715 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1741, allocations: 144.7 kB / 0.7151 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1741, allocations: 11.98 kB / 0.7152 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1744, allocations: 23.98 kB / 0.7152 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.1744, allocations: 32.39 kB / 0.7152 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.1745, allocations: 23.98 kB / 0.7152 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003369/0.1748, allocations: 283.2 kB / 0.7155 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1748, allocations: 0 / 0.7155 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000699/0.1755, allocations: 235.3 kB / 0.7157 GB, free: 6.707 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * 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.0002243/0.1758, allocations: 129.5 kB / 0.7159 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.1776, allocations: 1.013 MB / 0.7168 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1776, allocations: 0 / 0.7168 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.178, allocations: 230.3 kB / 0.7171 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.1787, allocations: 103.6 kB / 0.7172 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1804, allocations: 1.019 MB / 0.7182 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.181, allocations: 0.8632 MB / 0.719 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1811, allocations: 43.44 kB / 0.719 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.1811, allocations: 0 / 0.719 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.01127/0.1924, allocations: 6.561 MB / 0.7254 GB, free: 12.64 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.647415007930249] Failed to read output from testmodel.py, exit status != 0: 0.45149126602336764 0.213787142 0.063472446 Calling exit ...