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.001423/0.001423, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001598/0.001598, allocations: 211.1 kB / 23.04 MB, free: 4.887 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 179] 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.9069/0.9069, allocations: 150 MB / 463.2 MB, free: 10.22 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [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.001935/0.001935, allocations: 62.97 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00203/0.1623, allocations: 0.7957 MB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1634, allocations: 0.921 MB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.1635, allocations: 0 / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1635, allocations: 11.88 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.1636, allocations: 19.8 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1638, allocations: 47.88 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1639, allocations: 111.7 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.164, allocations: 17.3 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1642, allocations: 55.78 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.1643, allocations: 51.75 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1643, allocations: 8 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.1643, allocations: 20 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.1644, allocations: 27.91 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.1644, allocations: 43.78 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1646, allocations: 123.7 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1646, allocations: 3.938 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1646, allocations: 0 / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1646, allocations: 0 / 0.7306 GB, free: 14.45 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.0006342/0.1652, allocations: 381.6 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1653, allocations: 8.031 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1653, allocations: 34.75 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.1656, allocations: 32.86 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.166, allocations: 190.4 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.166, allocations: 4.375 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1661, allocations: 12.38 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.1663, allocations: 124.4 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1663, allocations: 0 / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1663, allocations: 0 / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1664, allocations: 4 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.1666, allocations: 71.92 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.1672, allocations: 464.1 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1675, allocations: 111.8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1676, allocations: 46.61 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1677, allocations: 8 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1677, allocations: 38.5 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1677, allocations: 4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1683, allocations: 161.4 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1683, allocations: 106.8 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1685, allocations: 153.4 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1685, allocations: 29.95 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1686, allocations: 116.2 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1686, allocations: 19.84 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.1686, allocations: 33.66 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1688, allocations: 322.8 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1689, allocations: 39.97 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1691, allocations: 158.2 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1694, allocations: 98.67 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1694, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003671/0.1698, allocations: 141.5 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1698, allocations: 4 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1698, allocations: 0 / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1698, allocations: 4 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1699, allocations: 23.97 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.17, allocations: 0 / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1701, allocations: 27.88 kB / 0.7334 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1701, allocations: 4 kB / 0.7335 GB, free: 11.24 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.0001076/0.1702, allocations: 117.8 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.1703, allocations: 19.83 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1705, allocations: 89.98 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1705, allocations: 4 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1705, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1705, allocations: 3.984 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1708, allocations: 160.6 kB / 0.7338 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1708, allocations: 0 / 0.7338 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1709, allocations: 27.97 kB / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1709, allocations: 0 / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.171, allocations: 0 / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.171, allocations: 11.94 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.171, allocations: 8 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.1714, allocations: 370 kB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1714, allocations: 15.88 kB / 0.7342 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1714, allocations: 0 / 0.7342 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.1716, allocations: 15.98 kB / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.1717, allocations: 23.95 kB / 0.7343 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1717, allocations: 11.94 kB / 0.7343 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.1718, allocations: 111.2 kB / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1718, allocations: 0 / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003014/0.1721, allocations: 23.89 kB / 0.7344 GB, free: 10.16 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.0007512/0.1729, allocations: 0.8907 MB / 0.7353 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1732, allocations: 99.86 kB / 0.7354 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1732, allocations: 0 / 0.7354 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1734, allocations: 51.89 kB / 0.7354 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1738, allocations: 16.09 kB / 0.7355 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.176, allocations: 1.812 MB / 0.7372 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.766e-05/0.1761, allocations: 92.11 kB / 0.7373 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.1761, allocations: 20.62 kB / 0.7373 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1762, allocations: 35.42 kB / 0.7374 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.1762, allocations: 0 / 0.7374 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2039, allocations: 3.298 MB / 0.7406 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.4, allocations: 7.203 kB / 0.7406 GB, free: 3.859 MB / 0.5606 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.850259706145152] Failed to read output from testmodel.py, exit status != 0: 10.498898089164868 10.51657894 10.348654542 Calling exit ...