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.001366/0.001366, allocations: 119 kB / 19.69 MB, free: 2.199 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.001635/0.001635, allocations: 224.1 kB / 23.01 MB, free: 5.047 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9253/0.9253, allocations: 150 MB / 463.2 MB, free: 10.5 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.001921/0.001921, allocations: 76.72 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 89.17 MB / 0.7284 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003064/0.1793, allocations: 1.444 MB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1811, allocations: 0.8416 MB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1811, allocations: 0 / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.1812, allocations: 11.86 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.1812, allocations: 0 / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.182, allocations: 185.3 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1821, allocations: 39.98 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.1822, allocations: 7.922 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1822, allocations: 19.92 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.1823, allocations: 27.91 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1823, allocations: 4 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.1828, allocations: 227.6 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.1828, allocations: 4 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1829, allocations: 23.88 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1832, allocations: 191.5 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1832, allocations: 0 / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1832, allocations: 0 / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1833, allocations: 4 kB / 0.7313 GB, free: 14.24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005745/0.1838, allocations: 357.3 kB / 0.7317 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1839, allocations: 12.03 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.1839, allocations: 34.75 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.184, allocations: 8.891 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1841, allocations: 110.5 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1841, allocations: 8.125 kB / 0.7318 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1841, allocations: 4 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1843, allocations: 85.59 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1843, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1844, allocations: 3.984 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1844, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1845, allocations: 51.95 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1849, allocations: 247.9 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1851, allocations: 66.48 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1852, allocations: 44.91 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1852, allocations: 0 / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1852, allocations: 30.56 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1852, allocations: 0 / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004775/0.1857, allocations: 187.3 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.1858, allocations: 81.11 kB / 0.7326 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1859, allocations: 129.1 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1859, allocations: 25.7 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.186, allocations: 96.03 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.186, allocations: 7.938 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.1861, allocations: 25.7 kB / 0.7329 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1862, allocations: 314.8 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1864, allocations: 67.92 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1865, allocations: 59.97 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1868, allocations: 189.9 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1868, allocations: 3.938 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003673/0.1872, allocations: 217.1 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.1872, allocations: 67.39 kB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1872, allocations: 0 / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1872, allocations: 0 / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.1873, allocations: 15.92 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1873, allocations: 0 / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.1874, allocations: 11.89 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1874, allocations: 7.938 kB / 0.7338 GB, free: 11.46 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: 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.0001401/0.1876, allocations: 153.5 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1876, allocations: 0 / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.1876, allocations: 8 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1876, allocations: 0 / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1876, allocations: 4 kB / 0.7339 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1876, allocations: 0 / 0.7339 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1878, allocations: 152.6 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1878, allocations: 0 / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1879, allocations: 3.984 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1879, allocations: 4 kB / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1879, allocations: 0 / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1879, allocations: 0 / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1879, allocations: 0 / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1883, allocations: 257.1 kB / 0.7343 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.1883, allocations: 7.953 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1883, allocations: 4 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.1884, allocations: 7.984 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.1885, allocations: 4 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1885, allocations: 4 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.122e-05/0.1886, allocations: 95.2 kB / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1886, allocations: 4 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003814/0.189, allocations: 63.95 kB / 0.7345 GB, free: 10.62 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: 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.0008868/0.1899, allocations: 0.8235 MB / 0.7353 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.1903, allocations: 238.7 kB / 0.7355 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1903, allocations: 4.031 kB / 0.7355 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1904, allocations: 99.36 kB / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1907, allocations: 8 kB / 0.7356 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.193, allocations: 1.758 MB / 0.7374 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1934, allocations: 0.6885 MB / 0.738 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.1934, allocations: 0 / 0.738 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1934, allocations: 15.44 kB / 0.7381 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.1934, allocations: 4 kB / 0.7381 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.2223, allocations: 2.871 MB / 0.7409 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.02, allocations: 10.06 kB / 0.7409 GB, free: 4.102 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.504548144992441] Failed to read output from testmodel.py, exit status != 0: 11.120319461915642 11.143852978 10.956036332 Calling exit ...