Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001528/0.001528, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001421/0.001421, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002387/0.002387, allocations: 286.8 kB / 313.5 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.146/1.146, allocations: 180.6 MB / 0.5377 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002695/0.002695, allocations: 103.2 kB / 0.7404 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1734, allocations: 95.37 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002617/0.176, allocations: 1.461 MB / 0.8349 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1775, allocations: 0.8478 MB / 0.8358 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1775, allocations: 0 / 0.8358 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.1776, allocations: 3.938 kB / 0.8358 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.1777, allocations: 3.984 kB / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.1784, allocations: 184.7 kB / 0.8359 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1786, allocations: 35.98 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.1787, allocations: 11.92 kB / 0.836 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.1787, allocations: 19.92 kB / 0.836 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.1788, allocations: 19.91 kB / 0.836 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1788, allocations: 4 kB / 0.836 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.1792, allocations: 231.7 kB / 0.8363 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1792, allocations: 15.92 kB / 0.8363 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1793, allocations: 23.88 kB / 0.8363 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1796, allocations: 187.5 kB / 0.8365 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1796, allocations: 0 / 0.8365 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1796, allocations: 0 / 0.8365 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1796, allocations: 0 / 0.8365 GB, free: 5.562 MB / 0.5762 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.0005811/0.1802, allocations: 357.4 kB / 0.8368 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1802, allocations: 12.75 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.1803, allocations: 192 / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.1803, allocations: 34.75 kB / 0.8369 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1803, allocations: 4.938 kB / 0.8369 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.1805, allocations: 126.3 kB / 0.837 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1805, allocations: 4.375 kB / 0.837 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1805, allocations: 4.375 kB / 0.837 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1807, allocations: 77.59 kB / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1807, allocations: 0 / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1807, allocations: 0 / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1807, allocations: 0 / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1808, allocations: 55.91 kB / 0.8371 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1813, allocations: 244 kB / 0.8373 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1814, allocations: 62.48 kB / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.1815, allocations: 44.91 kB / 0.8375 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1815, allocations: 0 / 0.8375 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1816, allocations: 38.56 kB / 0.8375 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1816, allocations: 4 kB / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000433/0.182, allocations: 187.2 kB / 0.8377 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.1821, allocations: 77.11 kB / 0.8377 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1822, allocations: 129.8 kB / 0.8379 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1822, allocations: 25.7 kB / 0.8379 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.1823, allocations: 88.14 kB / 0.838 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1823, allocations: 15.89 kB / 0.838 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1823, allocations: 25.73 kB / 0.838 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1825, allocations: 318.8 kB / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1826, allocations: 55.97 kB / 0.8384 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1827, allocations: 63.95 kB / 0.8384 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.1829, allocations: 189.9 kB / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1829, allocations: 0 / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002986/0.1832, allocations: 217.2 kB / 0.8388 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.1833, allocations: 67.39 kB / 0.8389 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1833, allocations: 0 / 0.8389 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1833, allocations: 0 / 0.8389 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.1833, allocations: 7.938 kB / 0.8389 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1834, allocations: 0 / 0.8389 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.1834, allocations: 23.86 kB / 0.8389 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1834, allocations: 4 kB / 0.8389 GB, free: 2.789 MB / 0.5762 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.0001241/0.1835, allocations: 152.1 kB / 0.8391 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1836, allocations: 4 kB / 0.8391 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.1836, allocations: 8 kB / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1836, allocations: 0 / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1836, allocations: 0 / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1836, allocations: 0 / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1838, allocations: 148.7 kB / 0.8392 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1838, allocations: 4.062 kB / 0.8392 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.1838, allocations: 0 / 0.8392 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1838, allocations: 4 kB / 0.8392 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1838, allocations: 3.984 kB / 0.8392 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1838, allocations: 0 / 0.8392 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1838, allocations: 4 kB / 0.8392 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1841, allocations: 257 kB / 0.8395 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.1841, allocations: 0 / 0.8395 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1841, allocations: 7.938 kB / 0.8395 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.1842, allocations: 7.984 kB / 0.8395 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.1843, allocations: 0 / 0.8395 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1843, allocations: 4 kB / 0.8395 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.1844, allocations: 103.3 kB / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1844, allocations: 0 / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003582/0.1847, allocations: 63.81 kB / 0.8397 GB, free: 1.945 MB / 0.5762 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.0007772/0.1855, allocations: 0.8272 MB / 0.8405 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.1859, allocations: 230.8 kB / 0.8407 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1859, allocations: 0 / 0.8407 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.186, allocations: 111.3 kB / 0.8408 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1862, allocations: 1.016 kB / 0.8408 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1882, allocations: 1.769 MB / 0.8425 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1885, allocations: 0.6846 MB / 0.8432 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.1885, allocations: 4 kB / 0.8432 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1886, allocations: 19.44 kB / 0.8432 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.1886, allocations: 0 / 0.8432 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.2116, allocations: 2.92 MB / 0.8461 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.64, allocations: 17.48 kB / 0.8461 GB, free: 11.38 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.59186145599233] Failed to read output from testmodel.py, exit status != 0: 10.8002496130066 10.815827319 10.633227798 Calling exit ...