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.001386/0.001386, allocations: 108 kB / 15.99 MB, free: 6.348 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.001517/0.001517, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.273/1.273, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 282 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 90.39 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1722, allocations: 86.97 MB / 0.6803 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002426/0.1747, allocations: 1.491 MB / 0.6817 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1758, allocations: 0.777 MB / 0.6825 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.1759, allocations: 0 / 0.6825 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.176, allocations: 3.938 kB / 0.6825 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.176, allocations: 4 kB / 0.6825 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.1766, allocations: 151.3 kB / 0.6826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.1767, allocations: 55.91 kB / 0.6827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.1768, allocations: 15.94 kB / 0.6827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.1768, allocations: 15.92 kB / 0.6827 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.1769, allocations: 15.98 kB / 0.6827 GB, free: 6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1769, allocations: 4 kB / 0.6827 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.1772, allocations: 199.7 kB / 0.6829 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.1772, allocations: 11.94 kB / 0.6829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.1773, allocations: 23.86 kB / 0.683 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1774, allocations: 127.8 kB / 0.6831 GB, free: 5.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1775, allocations: 0 / 0.6831 GB, free: 5.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1775, allocations: 0 / 0.6831 GB, free: 5.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1775, allocations: 4 kB / 0.6831 GB, free: 5.637 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.0004441/0.1779, allocations: 426.8 kB / 0.6835 GB, free: 5.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.178, allocations: 8.031 kB / 0.6835 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.178, allocations: 12.84 kB / 0.6835 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1781, allocations: 168.3 kB / 0.6837 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1781, allocations: 8.312 kB / 0.6837 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1781, allocations: 384 / 0.6837 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1783, allocations: 77.97 kB / 0.6838 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1783, allocations: 4 kB / 0.6838 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1783, allocations: 4 kB / 0.6838 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1784, allocations: 0 / 0.6838 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1785, allocations: 43.97 kB / 0.6838 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1788, allocations: 280.8 kB / 0.6841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1789, allocations: 62.48 kB / 0.6841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.179, allocations: 52.91 kB / 0.6842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.1791, allocations: 0 / 0.6842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1791, allocations: 30.56 kB / 0.6842 GB, free: 4.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1791, allocations: 0 / 0.6842 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003516/0.1795, allocations: 187.4 kB / 0.6844 GB, free: 4.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.1795, allocations: 84.98 kB / 0.6845 GB, free: 4.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1796, allocations: 129.8 kB / 0.6846 GB, free: 3.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1797, allocations: 33.73 kB / 0.6846 GB, free: 3.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1797, allocations: 84.14 kB / 0.6847 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.1797, allocations: 7.906 kB / 0.6847 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1798, allocations: 21.72 kB / 0.6847 GB, free: 3.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.1799, allocations: 314.8 kB / 0.685 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.18, allocations: 59.91 kB / 0.6851 GB, free: 3.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.1801, allocations: 59.95 kB / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1803, allocations: 201.9 kB / 0.6854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1803, allocations: 0 / 0.6854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002691/0.1806, allocations: 221 kB / 0.6856 GB, free: 2.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.1806, allocations: 69.27 kB / 0.6856 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1806, allocations: 3.938 kB / 0.6856 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1807, allocations: 4 kB / 0.6856 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.1807, allocations: 0 / 0.6856 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1807, allocations: 0 / 0.6856 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1808, allocations: 8 kB / 0.6856 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1808, allocations: 7.984 kB / 0.6857 GB, free: 2.727 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.0001013/0.1809, allocations: 147.5 kB / 0.6858 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1809, allocations: 7.906 kB / 0.6858 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.1809, allocations: 7.891 kB / 0.6858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.181, allocations: 0 / 0.6858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.181, allocations: 4 kB / 0.6858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.181, allocations: 0 / 0.6858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1811, allocations: 173.6 kB / 0.686 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1811, allocations: 0 / 0.686 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.1812, allocations: 8 kB / 0.686 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1812, allocations: 0 / 0.686 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1812, allocations: 0 / 0.686 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1812, allocations: 0 / 0.686 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1812, allocations: 0 / 0.686 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1815, allocations: 257 kB / 0.6862 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1815, allocations: 88.94 kB / 0.6863 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1815, allocations: 4 kB / 0.6863 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1816, allocations: 8.031 kB / 0.6863 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.1817, allocations: 7.984 kB / 0.6863 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1817, allocations: 8 kB / 0.6863 GB, free: 1.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.1818, allocations: 95.27 kB / 0.6864 GB, free: 1.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.6864 GB, free: 1.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1821, allocations: 56 kB / 0.6865 GB, free: 1.762 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.0002421/0.1823, allocations: 147.2 kB / 0.6866 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1826, allocations: 242.7 kB / 0.6869 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1826, allocations: 0 / 0.6869 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1828, allocations: 111.3 kB / 0.687 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.183, allocations: 8.953 kB / 0.687 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1833, allocations: 207.3 kB / 0.6872 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1836, allocations: 0.6924 MB / 0.6878 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.1836, allocations: 15.38 kB / 0.6879 GB, free: 256 kB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1836, allocations: 0 / 0.6879 GB, free: 256 kB / 494.1 MB Notification: Performance of Templates: time 0.2354/0.419, allocations: 1.472 MB / 0.6893 GB, free: 17.73 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)