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.001743/0.001743, allocations: 105 kB / 20.48 MB, free: 1.488 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.001507/0.001507, allocations: 212.9 kB / 23.79 MB, free: 4.703 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.396/1.396, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9284/0.9284, allocations: 150 MB / 464 MB, free: 10.47 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="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.001979/0.001979, allocations: 71.61 kB / 0.642 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 89.18 MB / 0.7291 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002708/0.1825, allocations: 1.455 MB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1839, allocations: 0.8298 MB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.184, allocations: 0 / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.684e-05/0.184, allocations: 11.92 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.1841, allocations: 3.984 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.1847, allocations: 183.8 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1849, allocations: 35.98 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.1849, allocations: 11.92 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.185, allocations: 23.92 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.185, allocations: 15.97 kB / 0.7316 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.185, allocations: 7.938 kB / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.1854, allocations: 231.6 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1855, allocations: 8 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1855, allocations: 19.88 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1858, allocations: 195.5 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1858, allocations: 0 / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.296e-06/0.1858, allocations: 7.922 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1858, allocations: 0 / 0.7321 GB, free: 14.18 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.0005309/0.1863, allocations: 353.4 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1864, allocations: 8.031 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.1864, allocations: 8.125 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.1864, allocations: 38.75 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1865, allocations: 4.891 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1866, allocations: 111.7 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1866, allocations: 11.88 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1866, allocations: 0 / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1868, allocations: 81.66 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1868, allocations: 0 / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1868, allocations: 0 / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1868, allocations: 0 / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1869, allocations: 47.95 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.1873, allocations: 255.9 kB / 0.733 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1874, allocations: 66.52 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.654e-05/0.1875, allocations: 44.88 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1875, allocations: 0 / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1876, allocations: 34.56 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1876, allocations: 0 / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003987/0.1879, allocations: 187.3 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.188, allocations: 81.05 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1881, allocations: 123.9 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1881, allocations: 29.7 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1882, allocations: 88.09 kB / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1882, allocations: 7.953 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1883, allocations: 29.73 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.1884, allocations: 318.8 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1885, allocations: 55.95 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.1886, allocations: 55.97 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1888, allocations: 197.9 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1888, allocations: 0 / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002957/0.1891, allocations: 221 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.1892, allocations: 67.34 kB / 0.7345 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1892, allocations: 4 kB / 0.7345 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1892, allocations: 0 / 0.7345 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.1892, allocations: 3.984 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1893, allocations: 4 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.1893, allocations: 19.89 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1893, allocations: 0 / 0.7345 GB, free: 11.41 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.0001128/0.1894, allocations: 151.5 kB / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1895, allocations: 11.94 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1895, allocations: 8 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1895, allocations: 4 kB / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1895, allocations: 0 / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1895, allocations: 3.938 kB / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1897, allocations: 144.7 kB / 0.7348 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1897, allocations: 0 / 0.7348 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.1897, allocations: 7.984 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1897, allocations: 0 / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1897, allocations: 4 kB / 0.7349 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1897, allocations: 0 / 0.7349 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1897, allocations: 4 kB / 0.7349 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.19, allocations: 245.1 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.19, allocations: 11.95 kB / 0.7351 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.19, allocations: 0 / 0.7351 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1901, allocations: 11.98 kB / 0.7351 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1902, allocations: 4 kB / 0.7351 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1902, allocations: 3.938 kB / 0.7351 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.1903, allocations: 103.3 kB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1903, allocations: 0 / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003133/0.1906, allocations: 55.94 kB / 0.7353 GB, free: 10.56 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.0007363/0.1913, allocations: 0.8272 MB / 0.7361 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1917, allocations: 238.7 kB / 0.7363 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1917, allocations: 4 kB / 0.7363 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1918, allocations: 99.38 kB / 0.7364 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.192, allocations: 9.016 kB / 0.7364 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1939, allocations: 1.752 MB / 0.7381 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1942, allocations: 0.6885 MB / 0.7388 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.1942, allocations: 8 kB / 0.7388 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1942, allocations: 11.44 kB / 0.7388 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1942, allocations: 0 / 0.7388 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2167, allocations: 2.911 MB / 0.7417 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.85, allocations: 20.66 kB / 0.7417 GB, free: 4.012 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 os._exit(0), Time elapsed: 14.516604762990028] Failed to read output from testmodel.py, exit status != 0: 11.006325805967208 11.028100459 10.838013568 Calling exit ...