Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.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.001323/0.001323, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001538/0.001538, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.569/1.569, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9849/0.9849, allocations: 150 MB / 460.2 MB, free: 5.25 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",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: 68.88 kB / 0.6368 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 89.13 MB / 0.7239 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.003018/0.1688, allocations: 1.512 MB / 0.7254 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1702, allocations: 0.7809 MB / 0.7261 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.1702, allocations: 0 / 0.7261 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1704, allocations: 135.7 kB / 0.7263 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1706, allocations: 67.83 kB / 0.7263 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.1712, allocations: 183.8 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1713, allocations: 63.81 kB / 0.7266 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.1714, allocations: 11.92 kB / 0.7266 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.1715, allocations: 39.83 kB / 0.7266 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1716, allocations: 87.88 kB / 0.7267 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1716, allocations: 3.938 kB / 0.7267 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.172, allocations: 231.6 kB / 0.7269 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1721, allocations: 71.81 kB / 0.727 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.1722, allocations: 55.48 kB / 0.727 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1726, allocations: 271 kB / 0.7273 GB, free: 444 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1726, allocations: 0 / 0.7273 GB, free: 444 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1726, allocations: 0 / 0.7273 GB, free: 444 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.1726, allocations: 0 / 0.7273 GB, free: 444 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007815/0.1734, allocations: 0.5057 MB / 0.7278 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1735, allocations: 16.02 kB / 0.7278 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.1735, allocations: 4.188 kB / 0.7278 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.1735, allocations: 34.75 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1736, allocations: 20.8 kB / 0.7279 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1739, allocations: 263.8 kB / 0.7281 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1739, allocations: 4.359 kB / 0.7281 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1739, allocations: 384 / 0.7281 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1741, allocations: 81.59 kB / 0.7282 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1741, allocations: 0 / 0.7282 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1741, allocations: 0 / 0.7282 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1741, allocations: 4 kB / 0.7282 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.1743, allocations: 87.92 kB / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.1749, allocations: 392.7 kB / 0.7287 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1751, allocations: 94.45 kB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1753, allocations: 52.89 kB / 0.7288 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.1753, allocations: 19.98 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1753, allocations: 30.56 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1753, allocations: 0 / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004555/0.1758, allocations: 173.5 kB / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1758, allocations: 59.47 kB / 0.7291 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.1762, allocations: 363.2 kB / 0.7294 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1763, allocations: 25.7 kB / 0.7294 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1764, allocations: 132.1 kB / 0.7296 GB, free: 13.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1764, allocations: 7.953 kB / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1764, allocations: 29.7 kB / 0.7296 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1766, allocations: 334.8 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1768, allocations: 99.94 kB / 0.73 GB, free: 13.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1769, allocations: 95.94 kB / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1772, allocations: 202.7 kB / 0.7303 GB, free: 13.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1772, allocations: 0 / 0.7303 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003986/0.1776, allocations: 257.3 kB / 0.7305 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1777, allocations: 11.94 kB / 0.7306 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1777, allocations: 8 kB / 0.7306 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1777, allocations: 0 / 0.7306 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.1778, allocations: 4 kB / 0.7306 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1778, allocations: 3.984 kB / 0.7306 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.1779, allocations: 23.84 kB / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1779, allocations: 3.984 kB / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001353/0.178, allocations: 145.7 kB / 0.7307 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.178, allocations: 19.95 kB / 0.7308 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.1784, allocations: 150.6 kB / 0.7309 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1784, allocations: 0 / 0.7309 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1784, allocations: 0 / 0.7309 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1784, allocations: 0 / 0.7309 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1786, allocations: 245.5 kB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1786, allocations: 0 / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1787, allocations: 8 kB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1787, allocations: 0 / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1787, allocations: 11.97 kB / 0.7312 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1787, allocations: 3.984 kB / 0.7312 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1787, allocations: 4 kB / 0.7312 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.179, allocations: 223.3 kB / 0.7314 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/0.1791, allocations: 105 kB / 0.7315 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1791, allocations: 0 / 0.7315 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.1792, allocations: 12.02 kB / 0.7315 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1793, allocations: 8 kB / 0.7315 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1793, allocations: 0 / 0.7315 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002597/0.1795, allocations: 249.9 kB / 0.7317 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1795, allocations: 0 / 0.7317 GB, free: 11.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003473/0.1799, allocations: 67.86 kB / 0.7318 GB, free: 11.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0008731/0.1808, allocations: 0.8253 MB / 0.7326 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1811, allocations: 143.9 kB / 0.7327 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1811, allocations: 0 / 0.7327 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1812, allocations: 51.94 kB / 0.7328 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1815, allocations: 8.656 kB / 0.7328 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1848, allocations: 2.718 MB / 0.7355 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1852, allocations: 0.7451 MB / 0.7362 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.1852, allocations: 20.48 kB / 0.7362 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.1853, allocations: 51.42 kB / 0.7362 GB, free: 6.809 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.1853, allocations: 0 / 0.7362 GB, free: 6.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.2071, allocations: 4.339 MB / 0.7405 GB, free: 2.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/8.887, allocations: 11.17 kB / 0.7405 GB, free: 2.617 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.821430222014897] Failed to read output from testmodel.py, exit status != 0: 9.01578018401051 9.040414404 8.863233814 Calling exit ...