Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.502/1.502, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 76.7 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00218/0.1631, allocations: 1.498 MB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1642, allocations: 0.8248 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.1642, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.1643, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.1643, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.1648, allocations: 160 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.1649, allocations: 47.92 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.165, allocations: 15.91 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.165, allocations: 11.94 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1651, allocations: 31.91 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1651, allocations: 4 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.1653, allocations: 195.7 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.1654, allocations: 11.98 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1654, allocations: 19.86 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1656, allocations: 179.7 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1656, allocations: 0 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.825e-06/0.1656, allocations: 0 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1656, allocations: 3.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 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.000397/0.166, allocations: 442.6 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1661, allocations: 12.03 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.1661, allocations: 42.73 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.1661, allocations: 4.938 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.1662, allocations: 164.3 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1663, allocations: 4.375 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1663, allocations: 3.938 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1664, allocations: 73.66 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1664, allocations: 4 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1665, allocations: 4 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.1665, allocations: 4 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1666, allocations: 47.91 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1669, allocations: 280.8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.167, allocations: 54.55 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1671, allocations: 44.92 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1671, allocations: 7.984 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.1671, allocations: 30.56 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1671, allocations: 0 / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003168/0.1674, allocations: 187.2 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1675, allocations: 81.11 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.1676, allocations: 121.8 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1676, allocations: 29.7 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1676, allocations: 92.16 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.1676, allocations: 7.906 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1677, allocations: 21.72 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.1678, allocations: 318.8 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.1679, allocations: 55.97 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.1679, allocations: 55.97 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1681, allocations: 201.8 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1681, allocations: 4 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002373/0.1684, allocations: 221.2 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.1684, allocations: 64.28 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1684, allocations: 0 / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1685, allocations: 4 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.1685, allocations: 7.969 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1685, allocations: 0 / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.1686, allocations: 8 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1686, allocations: 0 / 0.7885 GB, free: 7.816 MB / 0.6075 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 8.268e-05/0.1687, allocations: 155.5 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1687, allocations: 7.906 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.1687, allocations: 3.906 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1687, allocations: 0 / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1687, allocations: 4.062 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1687, allocations: 4 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1689, allocations: 177.5 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1689, allocations: 0 / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.1689, allocations: 7.984 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1689, allocations: 7.938 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1689, allocations: 4 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1689, allocations: 0 / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1689, allocations: 0 / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1692, allocations: 249 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.1692, allocations: 77.11 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1692, allocations: 4 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.1693, allocations: 12.02 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.1694, allocations: 4 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1694, allocations: 4 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.1694, allocations: 95.27 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1694, allocations: 0 / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002678/0.1697, allocations: 67.92 kB / 0.7893 GB, free: 6.836 MB / 0.6075 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.0005543/0.1703, allocations: 0.835 MB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.1705, allocations: 238.7 kB / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1706, allocations: 0 / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1707, allocations: 103.4 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.1709, allocations: 7.922 kB / 0.7905 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1723, allocations: 1.764 MB / 0.7922 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1725, allocations: 0.6846 MB / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.1725, allocations: 3.984 kB / 0.7929 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.1725, allocations: 15.38 kB / 0.7929 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.1725, allocations: 0 / 0.7929 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.355/3.527, allocations: 2.66 MB / 0.7955 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/3.527, allocations: 240.4 kB / 0.7957 GB, free: 280 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/5.265, allocations: 0 / 0.7957 GB, free: 280 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)