Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001239/0.001239, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001384/0.001384, allocations: 206.1 kB / 23.04 MB, free: 5.008 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.9063/0.9063, allocations: 150 MB / 463.2 MB, free: 10.18 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.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",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.001946/0.001946, allocations: 67.73 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 89.17 MB / 0.7284 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001871/0.1716, allocations: 0.7374 MB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1727, allocations: 0.886 MB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1727, allocations: 0 / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.1727, allocations: 7.875 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.1728, allocations: 7.938 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.173, allocations: 39.89 kB / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1731, allocations: 83.88 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1732, allocations: 19.98 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.1733, allocations: 39.8 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.1734, allocations: 43.81 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1734, allocations: 8 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.1734, allocations: 8 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1734, allocations: 19.92 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.1735, allocations: 43.83 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1736, allocations: 83.95 kB / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1736, allocations: 0 / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1736, allocations: 3.938 kB / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1736, allocations: 0 / 0.7303 GB, free: 14.68 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.0006018/0.1742, allocations: 326 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1743, allocations: 12.03 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.1743, allocations: 46.61 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1743, allocations: 8.891 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1745, allocations: 114.5 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1745, allocations: 8.375 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1745, allocations: 8.125 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1748, allocations: 101.6 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1748, allocations: 0 / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1748, allocations: 4 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1748, allocations: 4 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1752, allocations: 103.8 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.1757, allocations: 299.8 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.1763, allocations: 118.5 kB / 0.7314 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.1765, allocations: 56.81 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1765, allocations: 0 / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1766, allocations: 38.55 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1766, allocations: 4 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006593/0.1772, allocations: 173.5 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1773, allocations: 55.41 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1774, allocations: 132.7 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1774, allocations: 29.7 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1775, allocations: 96.09 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1775, allocations: 19.83 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1775, allocations: 25.7 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1777, allocations: 314.8 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1778, allocations: 43.95 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.178, allocations: 51.89 kB / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.1784, allocations: 104.8 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1784, allocations: 0 / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004031/0.1788, allocations: 130 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1788, allocations: 4 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1788, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1788, allocations: 11.92 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.179, allocations: 27.97 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.179, allocations: 3.938 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1791, allocations: 15.94 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1791, allocations: 4.078 kB / 0.7327 GB, free: 12.04 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.831e-05/0.1792, allocations: 113.8 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1792, allocations: 4 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1793, allocations: 16.3 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1793, allocations: 0 / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1793, allocations: 7.938 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1793, allocations: 0 / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1795, allocations: 164.7 kB / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1795, allocations: 0 / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1796, allocations: 23.97 kB / 0.733 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1796, allocations: 0 / 0.733 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1796, allocations: 4 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1796, allocations: 11.91 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1796, allocations: 3.938 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.1801, allocations: 227.4 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.1801, allocations: 15.92 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1801, allocations: 0 / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1803, allocations: 11.98 kB / 0.7333 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.1804, allocations: 23.91 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1804, allocations: 8 kB / 0.7333 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.1804, allocations: 91.27 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1804, allocations: 4 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002304/0.1807, allocations: 19.95 kB / 0.7334 GB, free: 11.24 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007537/0.1814, allocations: 0.767 MB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1818, allocations: 103.9 kB / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1818, allocations: 0 / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.182, allocations: 67.88 kB / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1823, allocations: 14.34 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1843, allocations: 1.535 MB / 0.7359 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.1844, allocations: 71.58 kB / 0.7359 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1845, allocations: 12 kB / 0.736 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.1846, allocations: 31.42 kB / 0.736 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1846, allocations: 0 / 0.736 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.2147, allocations: 3.369 MB / 0.7393 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.64, allocations: 0 / 0.7393 GB, free: 5.297 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract_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_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.18302302598022] Failed to read output from testmodel.py, exit status != 0: 10.74017704790458 10.754715233 10.578210644 Calling exit ...