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.001377/0.001377, allocations: 71.77 kB / 20.51 MB, free: 1.121 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.001684/0.001684, allocations: 167.9 kB / 23.77 MB, free: 4.188 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.456/1.456, allocations: 177.2 MB / 204.1 MB, free: 8.988 MB / 190.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.9255/0.9255, allocations: 113.9 MB / 374.5 MB, free: 13.32 MB / 350.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.002329/0.002329, allocations: 73.22 kB / 0.5551 GB, free: 2.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1752, allocations: 89.14 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003032/0.1783, allocations: 0.7985 MB / 0.6429 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.18, allocations: 0.9132 MB / 0.6438 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1801, allocations: 4 kB / 0.6438 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.1801, allocations: 7.875 kB / 0.6438 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1802, allocations: 19.75 kB / 0.6438 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1805, allocations: 43.94 kB / 0.6439 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1807, allocations: 111.6 kB / 0.644 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1808, allocations: 21.3 kB / 0.644 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1811, allocations: 55.83 kB / 0.6441 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1812, allocations: 51.77 kB / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1812, allocations: 8 kB / 0.6441 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.1813, allocations: 19.98 kB / 0.6441 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1813, allocations: 31.91 kB / 0.6442 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1814, allocations: 35.8 kB / 0.6442 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1817, allocations: 135.3 kB / 0.6443 GB, free: 7.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1817, allocations: 0 / 0.6443 GB, free: 7.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1817, allocations: 0 / 0.6443 GB, free: 7.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1817, allocations: 0 / 0.6443 GB, free: 7.262 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008135/0.1825, allocations: 373.7 kB / 0.6447 GB, free: 6.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1825, allocations: 11.97 kB / 0.6447 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.1828, allocations: 32.88 kB / 0.6447 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.1833, allocations: 186.5 kB / 0.6449 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1834, allocations: 4.375 kB / 0.6449 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1834, allocations: 12.38 kB / 0.6449 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1837, allocations: 116.7 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1837, allocations: 3.938 kB / 0.645 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1837, allocations: 0 / 0.645 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1837, allocations: 4 kB / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.184, allocations: 75.86 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.1847, allocations: 432.8 kB / 0.6455 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.185, allocations: 115.8 kB / 0.6456 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1851, allocations: 62.53 kB / 0.6457 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1851, allocations: 0 / 0.6457 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1852, allocations: 46.48 kB / 0.6457 GB, free: 5.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1852, allocations: 0 / 0.6457 GB, free: 5.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006311/0.1858, allocations: 157.4 kB / 0.6459 GB, free: 5.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.1859, allocations: 110.8 kB / 0.646 GB, free: 5.367 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.186, allocations: 149.6 kB / 0.6461 GB, free: 5.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1861, allocations: 29.7 kB / 0.6462 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.1862, allocations: 112.2 kB / 0.6463 GB, free: 5.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1862, allocations: 27.78 kB / 0.6463 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1862, allocations: 21.97 kB / 0.6463 GB, free: 5.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1864, allocations: 334.8 kB / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1866, allocations: 47.95 kB / 0.6467 GB, free: 4.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.1868, allocations: 158.2 kB / 0.6468 GB, free: 4.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.1871, allocations: 94.45 kB / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1871, allocations: 0 / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003841/0.1875, allocations: 133.5 kB / 0.6471 GB, free: 4.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1875, allocations: 8 kB / 0.6471 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1875, allocations: 0 / 0.6471 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1875, allocations: 0 / 0.6471 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1877, allocations: 27.97 kB / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1877, allocations: 0 / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1878, allocations: 19.94 kB / 0.6471 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1879, allocations: 4 kB / 0.6471 GB, free: 4.137 MB / 0.545 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.0001342/0.188, allocations: 133 kB / 0.6472 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.1881, allocations: 11.94 kB / 0.6473 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.1883, allocations: 85.98 kB / 0.6473 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1883, allocations: 0 / 0.6473 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1883, allocations: 0 / 0.6473 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1883, allocations: 8 kB / 0.6473 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1886, allocations: 149.2 kB / 0.6475 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1886, allocations: 3.938 kB / 0.6475 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1887, allocations: 23.92 kB / 0.6475 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1887, allocations: 384 / 0.6475 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1888, allocations: 3.984 kB / 0.6475 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1888, allocations: 4 kB / 0.6475 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.1888, allocations: 3.984 kB / 0.6475 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.1893, allocations: 373.9 kB / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.1893, allocations: 11.95 kB / 0.6479 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1893, allocations: 11.98 kB / 0.6479 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1895, allocations: 11.98 kB / 0.6479 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1896, allocations: 27.89 kB / 0.6479 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1896, allocations: 4 kB / 0.6479 GB, free: 3.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.1897, allocations: 111.2 kB / 0.6481 GB, free: 3.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1897, allocations: 0 / 0.6481 GB, free: 3.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003238/0.19, allocations: 23.95 kB / 0.6481 GB, free: 3.086 MB / 0.545 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.000133/0.1901, allocations: 99.25 kB / 0.6482 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.1905, allocations: 91.86 kB / 0.6483 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1905, allocations: 0 / 0.6483 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1907, allocations: 56.02 kB / 0.6483 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1912, allocations: 14.12 kB / 0.6483 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1917, allocations: 211.3 kB / 0.6485 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.1918, allocations: 84.31 kB / 0.6486 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.637e-05/0.1919, allocations: 16.64 kB / 0.6486 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.1919, allocations: 20.5 kB / 0.6486 GB, free: 2.441 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.1919, allocations: 4 kB / 0.6486 GB, free: 2.438 MB / 0.545 GB Notification: Performance of Templates: time 0.004904/0.1968, allocations: 1.402 MB / 0.65 GB, free: 1.055 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.517970048007555] Failed to read output from testmodel.py, exit status != 0: 0.20645528694149107 0.221721662 0.036798496 Calling exit ...