Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 108.4 kB / 17.07 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 190.8 kB / 20.03 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.125/1.125, allocations: 147.6 MB / 445.6 MB, free: 8.43 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 70.22 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 83.16 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001816/0.1744, allocations: 0.5917 MB / 0.6927 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.1747, allocations: 62.62 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.1748, allocations: 0 / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1748, allocations: 0 / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-06/0.1748, allocations: 0 / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1751, allocations: 32.75 kB / 0.6928 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.1752, allocations: 8.766 kB / 0.6928 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1752, allocations: 0 / 0.6928 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.1752, allocations: 13.38 kB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1753, allocations: 10.58 kB / 0.6929 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1753, allocations: 0 / 0.6929 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.1754, allocations: 15.67 kB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1754, allocations: 5.453 kB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1755, allocations: 5.219 kB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.1756, allocations: 18.25 kB / 0.6929 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1756, allocations: 1.438 kB / 0.6929 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1756, allocations: 4 kB / 0.6929 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1756, allocations: 0 / 0.6929 GB, free: 12.8 MB / 0.5137 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.0004494/0.176, allocations: 328 kB / 0.6932 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1761, allocations: 8.531 kB / 0.6932 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1761, allocations: 32.25 kB / 0.6933 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1762, allocations: 10.84 kB / 0.6933 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1763, allocations: 164.4 kB / 0.6934 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1764, allocations: 6 kB / 0.6934 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1764, allocations: 2.062 kB / 0.6934 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1766, allocations: 77.22 kB / 0.6935 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1766, allocations: 5.969 kB / 0.6935 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1766, allocations: 0 / 0.6935 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1766, allocations: 1.938 kB / 0.6935 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.1766, allocations: 13.66 kB / 0.6935 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.1769, allocations: 182.7 kB / 0.6937 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.177, allocations: 100.7 kB / 0.6938 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.1771, allocations: 34.17 kB / 0.6938 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.1773, allocations: 88.34 kB / 0.6939 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1774, allocations: 32.22 kB / 0.6939 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1774, allocations: 0 / 0.6939 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0002156/0.1776, allocations: 81.33 kB / 0.694 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.1777, allocations: 165.1 kB / 0.6942 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.1778, allocations: 89.86 kB / 0.6943 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1778, allocations: 25.7 kB / 0.6943 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.1779, allocations: 80.77 kB / 0.6944 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.1779, allocations: 14.91 kB / 0.6944 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.178, allocations: 22.09 kB / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1781, allocations: 316.2 kB / 0.6947 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.1782, allocations: 2.375 kB / 0.6947 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.1782, allocations: 33.89 kB / 0.6947 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.1783, allocations: 51.84 kB / 0.6948 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1783, allocations: 1.344 kB / 0.6948 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.1784, allocations: 64.97 kB / 0.6948 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1784, allocations: 6.781 kB / 0.6949 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1785, allocations: 12.03 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1785, allocations: 1.656 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.1786, allocations: 12.3 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1786, allocations: 2.281 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.1786, allocations: 5.188 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1786, allocations: 7.062 kB / 0.6949 GB, free: 10.54 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.281e-05/0.1787, allocations: 109.3 kB / 0.695 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1787, allocations: 17.03 kB / 0.695 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.1789, allocations: 101.5 kB / 0.6951 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.179, allocations: 1.812 kB / 0.6951 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.179, allocations: 1.781 kB / 0.6951 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.179, allocations: 9.781 kB / 0.6951 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1792, allocations: 166.7 kB / 0.6953 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1792, allocations: 1.938 kB / 0.6953 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1792, allocations: 20.47 kB / 0.6953 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1793, allocations: 1.781 kB / 0.6953 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1793, allocations: 5.719 kB / 0.6953 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1793, allocations: 5.797 kB / 0.6953 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1793, allocations: 1.781 kB / 0.6953 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1794, allocations: 124.7 kB / 0.6954 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1795, allocations: 83.39 kB / 0.6955 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1795, allocations: 10.48 kB / 0.6955 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.1796, allocations: 1.375 kB / 0.6955 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.1796, allocations: 7.938 kB / 0.6955 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1796, allocations: 4.531 kB / 0.6955 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.1796, allocations: 75.28 kB / 0.6956 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1797, allocations: 4 kB / 0.6956 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002022/0.1799, allocations: 6.469 kB / 0.6956 GB, free: 9.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0005508/0.1804, allocations: 0.6661 MB / 0.6963 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1805, allocations: 36.58 kB / 0.6963 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1806, allocations: 0 / 0.6963 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.1806, allocations: 28.42 kB / 0.6963 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1808, allocations: 3.375 kB / 0.6963 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.1812, allocations: 180.1 kB / 0.6965 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1816, allocations: 0.6809 MB / 0.6972 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.1816, allocations: 12.12 kB / 0.6972 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1817, allocations: 19.55 kB / 0.6972 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1817, allocations: 0 / 0.6972 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2058, allocations: 1.408 MB / 0.6986 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.999, allocations: 17.06 kB / 0.6986 GB, free: 7.379 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.05428462009877] Failed to read output from testmodel.py, exit status != 0: 8.371323455823585 8.089746539 7.911086368 Calling exit ...