Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001234/0.001234, allocations: 113.2 kB / 19.59 MB, free: 2.281 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.001283/0.001283, allocations: 188.3 kB / 22.85 MB, free: 5.664 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.393/1.393, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.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 0.9412/0.9412, allocations: 149.5 MB / 456.3 MB, free: 1.309 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 70.84 kB / 0.6324 GB, free: 9.102 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1603, allocations: 87.87 MB / 0.7182 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001746/0.162, allocations: 0.6659 MB / 0.7189 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.1629, allocations: 0.8123 MB / 0.7197 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.163, allocations: 0 / 0.7197 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.163, allocations: 7.938 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.163, allocations: 0 / 0.7197 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.1632, allocations: 11.92 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.1632, allocations: 27.98 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.1633, allocations: 4 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.1634, allocations: 23.84 kB / 0.7198 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.1634, allocations: 7.938 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1635, allocations: 0 / 0.7198 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.1635, allocations: 4 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1635, allocations: 4 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.1635, allocations: 15.92 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.055e-05/0.1636, allocations: 15.97 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1636, allocations: 3.938 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.347e-05/0.1636, allocations: 4 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.1636, allocations: 0 / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004273/0.164, allocations: 259.8 kB / 0.7201 GB, free: 15.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1641, allocations: 8.625 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1641, allocations: 4.891 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.1642, allocations: 106.5 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1642, allocations: 4.312 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1642, allocations: 384 / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1644, allocations: 54.23 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1644, allocations: 4.172 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1644, allocations: 7.875 kB / 0.7202 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1644, allocations: 0 / 0.7202 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1646, allocations: 35.95 kB / 0.7203 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1649, allocations: 220 kB / 0.7205 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.165, allocations: 42.5 kB / 0.7205 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.1651, allocations: 24.89 kB / 0.7206 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1651, allocations: 4 kB / 0.7206 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1651, allocations: 34.5 kB / 0.7206 GB, free: 14.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1651, allocations: 0 / 0.7206 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000328/0.1655, allocations: 89.59 kB / 0.7207 GB, free: 14.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1655, allocations: 51.41 kB / 0.7207 GB, free: 14.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.1656, allocations: 97.86 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1656, allocations: 25.7 kB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1656, allocations: 84.12 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1657, allocations: 7.953 kB / 0.7209 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1657, allocations: 13.84 kB / 0.7209 GB, free: 14.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1658, allocations: 318.8 kB / 0.7212 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.1659, allocations: 11.98 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.166, allocations: 23.91 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1661, allocations: 36.83 kB / 0.7213 GB, free: 13.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1661, allocations: 64 / 0.7213 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.1663, allocations: 73.59 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1663, allocations: 4 kB / 0.7214 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1663, allocations: 0 / 0.7214 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1663, allocations: 0 / 0.7214 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.1664, allocations: 15.98 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1664, allocations: 0 / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1665, allocations: 4 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.1665, allocations: 4.031 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.117e-05/0.1665, allocations: 113.8 kB / 0.7215 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1666, allocations: 11.92 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1668, allocations: 68.91 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1668, allocations: 3.938 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1668, allocations: 0 / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1668, allocations: 0 / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1669, allocations: 140.7 kB / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1669, allocations: 0 / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.167, allocations: 7.984 kB / 0.7217 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.167, allocations: 0 / 0.7217 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.167, allocations: 0 / 0.7217 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.167, allocations: 4 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.167, allocations: 0 / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1672, allocations: 171.3 kB / 0.7219 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.1672, allocations: 0 / 0.7219 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1673, allocations: 4 kB / 0.7219 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.1673, allocations: 7.984 kB / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1674, allocations: 0 / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1674, allocations: 4 kB / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.1674, allocations: 79.27 kB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1674, allocations: 0 / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002093/0.1676, allocations: 8.031 kB / 0.722 GB, free: 13.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001082/0.1677, allocations: 99.58 kB / 0.7221 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1679, allocations: 35.95 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1679, allocations: 0 / 0.7221 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.168, allocations: 19.92 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1683, allocations: 8.062 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.1685, allocations: 110.2 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1688, allocations: 0.6768 MB / 0.7229 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.1688, allocations: 0 / 0.7229 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1689, allocations: 11.44 kB / 0.7229 GB, free: 12.01 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1689, allocations: 0 / 0.7229 GB, free: 12.01 MB / 0.545 GB Notification: Performance of Templates: time 0.002589/0.1715, allocations: 450 kB / 0.7234 GB, free: 11.57 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325248244218528] Failed to read output from testmodel.py, exit status != 0: 0.17905768286436796 0.19326739199999995 0.026470138 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f139ccc17b0>