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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001429/0.001429, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002147, allocations: 296.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.3 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 94.61 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.166, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002796/0.1688, allocations: 1.419 MB / 0.6822 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1701, allocations: 0.7808 MB / 0.683 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.1701, allocations: 0 / 0.683 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.1702, allocations: 3.984 kB / 0.683 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.1703, allocations: 3.938 kB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.1709, allocations: 171.9 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.171, allocations: 51.91 kB / 0.6832 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.1711, allocations: 7.938 kB / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1712, allocations: 19.92 kB / 0.6832 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1712, allocations: 19.92 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1712, allocations: 7.984 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1716, allocations: 191.7 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.1716, allocations: 19.92 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1717, allocations: 11.94 kB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.172, allocations: 191.6 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.172, allocations: 0 / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.172, allocations: 0 / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.172, allocations: 4 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB 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.000482/0.1725, allocations: 426.8 kB / 0.6841 GB, free: 4.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1725, allocations: 12.03 kB / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1726, allocations: 4.844 kB / 0.6841 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1727, allocations: 180.2 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1727, allocations: 384 / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1727, allocations: 4.375 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1729, allocations: 77.97 kB / 0.6843 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1729, allocations: 0 / 0.6843 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1729, allocations: 4 kB / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.173, allocations: 0 / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1731, allocations: 43.97 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1734, allocations: 288.7 kB / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1735, allocations: 66.53 kB / 0.6847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.1736, allocations: 48.86 kB / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1737, allocations: 0 / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1737, allocations: 30.56 kB / 0.6848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1737, allocations: 0 / 0.6848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003567/0.1741, allocations: 191.2 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1741, allocations: 81.11 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.1742, allocations: 129.8 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1742, allocations: 25.7 kB / 0.6852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.1743, allocations: 88.14 kB / 0.6853 GB, free: 3.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1743, allocations: 11.89 kB / 0.6853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1744, allocations: 17.72 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.1745, allocations: 318.9 kB / 0.6856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1746, allocations: 59.95 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.1747, allocations: 55.97 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1749, allocations: 193.8 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1749, allocations: 0 / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002773/0.1752, allocations: 220.9 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.1753, allocations: 67.39 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1753, allocations: 4 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1753, allocations: 0 / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.1753, allocations: 12 kB / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1754, allocations: 0 / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1754, allocations: 7.984 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1754, allocations: 4 kB / 0.6862 GB, free: 2.352 MB / 494.1 MB 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.0001048/0.1755, allocations: 151.5 kB / 0.6864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1756, allocations: 7.906 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.1756, allocations: 3.906 kB / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1756, allocations: 4 kB / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1756, allocations: 0 / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1756, allocations: 0 / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.1758, allocations: 177.6 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1758, allocations: 3.938 kB / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.1758, allocations: 0 / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1758, allocations: 4 kB / 0.6866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1759, allocations: 3.984 kB / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1759, allocations: 0 / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1759, allocations: 0 / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1761, allocations: 257.1 kB / 0.6868 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.1762, allocations: 84.95 kB / 0.6869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1762, allocations: 4 kB / 0.6869 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1763, allocations: 3.984 kB / 0.6869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1764, allocations: 8 kB / 0.6869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1764, allocations: 4 kB / 0.6869 GB, free: 1.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.1765, allocations: 91.27 kB / 0.687 GB, free: 1.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1765, allocations: 8.031 kB / 0.687 GB, free: 1.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1768, allocations: 59.98 kB / 0.6871 GB, free: 1.383 MB / 494.1 MB 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.0002536/0.1771, allocations: 149.4 kB / 0.6872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.1774, allocations: 246.7 kB / 0.6874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1774, allocations: 0 / 0.6874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1775, allocations: 103.4 kB / 0.6875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1778, allocations: 9.219 kB / 0.6875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.1781, allocations: 203.3 kB / 0.6877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2479/0.4261, allocations: 0.6785 MB / 0.6884 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.4261, allocations: 9.938 kB / 0.6884 GB, free: 17.72 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4261, allocations: 0 / 0.6884 GB, free: 17.72 MB / 494.1 MB Notification: Performance of Templates: time 0.003823/0.43, allocations: 1.497 MB / 0.6899 GB, free: 17.7 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)