Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 211.9 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9554/0.9554, allocations: 149.9 MB / 463.8 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 66.12 kB / 0.6423 GB, free: 9.543 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1709, allocations: 89.17 MB / 0.7294 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001891/0.1727, allocations: 0.6863 MB / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1739, allocations: 0.89 MB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.1739, allocations: 0 / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.174, allocations: 7.938 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.174, allocations: 7.922 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1742, allocations: 15.98 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.1743, allocations: 47.8 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1744, allocations: 7.984 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1745, allocations: 23.91 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.1745, allocations: 15.92 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1745, allocations: 4 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1745, allocations: 4 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.1746, allocations: 8 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1746, allocations: 15.92 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.271e-05/0.1747, allocations: 39.81 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1747, allocations: 4 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1747, allocations: 3.938 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1747, allocations: 0 / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005073/0.1752, allocations: 286.2 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1752, allocations: 8.031 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1753, allocations: 4.938 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1754, allocations: 126.3 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1754, allocations: 4.375 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1754, allocations: 384 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1757, allocations: 74.22 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1757, allocations: 192 / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1757, allocations: 3.938 kB / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1757, allocations: 0 / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.176, allocations: 67.92 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1763, allocations: 204.6 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1765, allocations: 58.47 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1767, allocations: 36.86 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1767, allocations: 0 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1767, allocations: 38.55 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1767, allocations: 4 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.1773, allocations: 133.5 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1773, allocations: 51.41 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1774, allocations: 109.8 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1774, allocations: 29.64 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1775, allocations: 92.12 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1775, allocations: 7.953 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1775, allocations: 9.719 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1777, allocations: 318.8 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1778, allocations: 35.95 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.178, allocations: 31.97 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1782, allocations: 68.78 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1782, allocations: 0 / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003284/0.1786, allocations: 105.7 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1786, allocations: 8 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1786, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1786, allocations: 4.031 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1787, allocations: 19.97 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1787, allocations: 7.938 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.1788, allocations: 7.984 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1788, allocations: 4 kB / 0.733 GB, free: 12.56 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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 9.115e-05/0.1789, allocations: 109.8 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1789, allocations: 11.89 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.179, allocations: 11.98 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.179, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.179, allocations: 4 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.179, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1791, allocations: 109.3 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1791, allocations: 0 / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.1792, allocations: 19.92 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1792, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1792, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1792, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1792, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.1796, allocations: 203.4 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.1796, allocations: 15.83 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1796, allocations: 0 / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1797, allocations: 11.98 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1798, allocations: 7.984 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1798, allocations: 4 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.1798, allocations: 87.27 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1798, allocations: 0 / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000214/0.1801, allocations: 8 kB / 0.7336 GB, free: 11.91 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.000115/0.1802, allocations: 95.25 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1805, allocations: 71.86 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1805, allocations: 0 / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1807, allocations: 39.91 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.181, allocations: 10.02 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1813, allocations: 155.1 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.1814, allocations: 63.34 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.1814, allocations: 11.44 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1814, allocations: 3.938 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.002347/0.1838, allocations: 0.7628 MB / 0.7348 GB, free: 10.64 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.838324545882642] Failed to read output from testmodel.py, exit status != 0: 0.1922816289588809 0.207428188 0.029562848000000003 Calling exit ...