Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001438/0.001438, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001493/0.001493, allocations: 205.6 kB / 23.74 MB, free: 4.543 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9608/0.9608, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.002101/0.002101, allocations: 68.72 kB / 0.6424 GB, free: 9.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1727, allocations: 89.17 MB / 0.7294 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002085/0.1747, allocations: 0.805 MB / 0.7302 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1759, allocations: 0.9171 MB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.176, allocations: 0 / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.176, allocations: 11.86 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.1761, allocations: 23.75 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.1763, allocations: 39.94 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1765, allocations: 115.6 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1766, allocations: 25.28 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1768, allocations: 47.84 kB / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.1769, allocations: 59.69 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1769, allocations: 8 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-05/0.177, allocations: 16 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.177, allocations: 27.92 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1771, allocations: 39.8 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1773, allocations: 127.4 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1773, allocations: 0 / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1773, allocations: 0 / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.1773, allocations: 3.984 kB / 0.7316 GB, free: 14.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007085/0.178, allocations: 369.7 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.178, allocations: 12.03 kB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.1783, allocations: 32.86 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.1788, allocations: 190.4 kB / 0.7322 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1788, allocations: 384 / 0.7322 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1788, allocations: 12.38 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.1791, allocations: 120.7 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1791, allocations: 7.875 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1791, allocations: 4 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1791, allocations: 0 / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1794, allocations: 79.86 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.18, allocations: 432.7 kB / 0.7328 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1803, allocations: 111.8 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1804, allocations: 50.61 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1805, allocations: 0 / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1805, allocations: 34.56 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1805, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.1811, allocations: 177.3 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1812, allocations: 102.8 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1813, allocations: 146.2 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1813, allocations: 29.7 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.1814, allocations: 112.2 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1815, allocations: 27.86 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.1815, allocations: 25.95 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1817, allocations: 334.8 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1819, allocations: 39.97 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1821, allocations: 154.2 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1824, allocations: 102.7 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1824, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003677/0.1828, allocations: 141.5 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1828, allocations: 4 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1828, allocations: 0 / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1828, allocations: 4 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.183, allocations: 19.98 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.183, allocations: 3.938 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1831, allocations: 27.92 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1831, allocations: 0 / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001174/0.1832, allocations: 125.8 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.1833, allocations: 7.953 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.1835, allocations: 85.98 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1835, allocations: 4 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1836, allocations: 0 / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1836, allocations: 7.938 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1838, allocations: 141.2 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1838, allocations: 4 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.184, allocations: 19.98 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.184, allocations: 3.938 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.184, allocations: 4 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.184, allocations: 0 / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.184, allocations: 3.938 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.1844, allocations: 377.9 kB / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.1845, allocations: 11.89 kB / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1845, allocations: 4 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1847, allocations: 19.97 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1848, allocations: 24.02 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1848, allocations: 4 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.647e-05/0.1849, allocations: 114.7 kB / 0.7353 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1849, allocations: 0 / 0.7353 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003267/0.1852, allocations: 23.95 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001251/0.1853, allocations: 99.25 kB / 0.7355 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.1857, allocations: 95.84 kB / 0.7355 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1857, allocations: 0 / 0.7355 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1859, allocations: 51.97 kB / 0.7356 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1863, allocations: 19.92 kB / 0.7356 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.1868, allocations: 233.1 kB / 0.7358 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1869, allocations: 84.19 kB / 0.7359 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.187, allocations: 27.36 kB / 0.7359 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.187, allocations: 0 / 0.7359 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of Templates: time 0.003492/0.1905, allocations: 1.56 MB / 0.7375 GB, free: 7.812 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8663732428103685] Failed to read output from testmodel.py, exit status != 0: 0.19903733674436808 0.21425505 0.033800764000000004 Calling exit ...