Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001581/0.001581, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.00166/0.00166, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.423/1.423, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9448/0.9448, allocations: 150 MB / 460.2 MB, free: 5.582 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.001951/0.001951, allocations: 68.11 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 89.13 MB / 0.7239 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002593/0.1674, allocations: 1.445 MB / 0.7253 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1688, allocations: 0.8317 MB / 0.7261 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.1688, allocations: 8 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.1689, allocations: 7.922 kB / 0.7261 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1689, allocations: 0 / 0.7261 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.1696, allocations: 175.8 kB / 0.7263 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1697, allocations: 39.97 kB / 0.7263 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.1698, allocations: 11.94 kB / 0.7263 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.1698, allocations: 23.92 kB / 0.7263 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.1699, allocations: 15.92 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1699, allocations: 4 kB / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.1702, allocations: 203.7 kB / 0.7265 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.1703, allocations: 11.98 kB / 0.7266 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1703, allocations: 19.88 kB / 0.7266 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.1706, allocations: 191.5 kB / 0.7268 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1706, allocations: 3.938 kB / 0.7268 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1706, allocations: 3.938 kB / 0.7268 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1706, allocations: 0 / 0.7268 GB, free: 1.016 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005365/0.1711, allocations: 438.5 kB / 0.7272 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1712, allocations: 12.03 kB / 0.7272 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.083e-05/0.1712, allocations: 4.188 kB / 0.7272 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1712, allocations: 30.75 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1712, allocations: 8.891 kB / 0.7272 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1714, allocations: 168.3 kB / 0.7274 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1714, allocations: 7.938 kB / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1714, allocations: 0 / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1716, allocations: 89.59 kB / 0.7275 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1716, allocations: 0 / 0.7275 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1716, allocations: 0 / 0.7275 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1716, allocations: 0 / 0.7275 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1717, allocations: 47.95 kB / 0.7275 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1721, allocations: 276.8 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1722, allocations: 58.55 kB / 0.7279 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.1723, allocations: 52.84 kB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1724, allocations: 0 / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1724, allocations: 30.56 kB / 0.7279 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1724, allocations: 0 / 0.7279 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004092/0.1728, allocations: 183.3 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1729, allocations: 77.11 kB / 0.7282 GB, free: 15.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.173, allocations: 129.9 kB / 0.7283 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.173, allocations: 29.7 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.173, allocations: 92.03 kB / 0.7284 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1731, allocations: 7.953 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.1731, allocations: 25.7 kB / 0.7285 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1732, allocations: 314.8 kB / 0.7288 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1733, allocations: 63.89 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.1734, allocations: 55.97 kB / 0.7289 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1737, allocations: 198 kB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1737, allocations: 0 / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003/0.174, allocations: 221 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.174, allocations: 63.41 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.174, allocations: 4 kB / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1741, allocations: 0 / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.1741, allocations: 3.984 kB / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1741, allocations: 4 kB / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.1742, allocations: 15.88 kB / 0.7294 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1742, allocations: 0 / 0.7294 GB, free: 14.06 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001146/0.1743, allocations: 155.4 kB / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1743, allocations: 8.188 kB / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.1744, allocations: 3.906 kB / 0.7295 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1744, allocations: 7.984 kB / 0.7295 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1744, allocations: 0 / 0.7295 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1744, allocations: 3.938 kB / 0.7295 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1746, allocations: 169.6 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1746, allocations: 4 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1746, allocations: 7.984 kB / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1746, allocations: 0 / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1746, allocations: 0 / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1746, allocations: 4 kB / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1746, allocations: 0 / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1749, allocations: 245.1 kB / 0.7299 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1749, allocations: 89.09 kB / 0.73 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.175, allocations: 3.984 kB / 0.73 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.175, allocations: 4 kB / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.1752, allocations: 7.938 kB / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1752, allocations: 11.92 kB / 0.73 GB, free: 13.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.1752, allocations: 102.4 kB / 0.7301 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1752, allocations: 0 / 0.7301 GB, free: 13.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003307/0.1756, allocations: 55.88 kB / 0.7302 GB, free: 13.08 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.000766/0.1763, allocations: 0.8312 MB / 0.731 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.1767, allocations: 238.7 kB / 0.7312 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1767, allocations: 0 / 0.7312 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1768, allocations: 95.38 kB / 0.7313 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1771, allocations: 12.03 kB / 0.7313 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.179, allocations: 1.767 MB / 0.7331 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1793, allocations: 0.6885 MB / 0.7337 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.1793, allocations: 0 / 0.7337 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1793, allocations: 19.42 kB / 0.7338 GB, free: 9.25 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1793, allocations: 4 kB / 0.7338 GB, free: 9.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1977, allocations: 2.825 MB / 0.7365 GB, free: 6.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.33, allocations: 10.03 kB / 0.7365 GB, free: 6.617 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.052809874003287] Failed to read output from testmodel.py, exit status != 0: 8.450467585993465 8.471816131 8.298590115 Calling exit ...