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.0007547/0.0007551, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.004632/0.004632, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 275 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 18.3 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 88.54 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001478/0.1536, allocations: 1.144 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1548, allocations: 0.7992 MB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1548, allocations: 0 / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.1549, allocations: 1.938 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.1549, allocations: 0 / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.1554, allocations: 136.7 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.1555, allocations: 31.97 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.1556, allocations: 15.05 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.1556, allocations: 7.938 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.1557, allocations: 19.97 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1557, allocations: 0 / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.156, allocations: 183.8 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.1561, allocations: 15.91 kB / 0.6874 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1561, allocations: 46.08 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1564, allocations: 191.5 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1564, allocations: 2.406 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1564, allocations: 0 / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1565, allocations: 0 / 0.6877 GB, free: 12.43 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.0004745/0.1569, allocations: 424.6 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.157, allocations: 12.78 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.157, allocations: 4.844 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1571, allocations: 169 kB / 0.6882 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1572, allocations: 384 / 0.6882 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1572, allocations: 5.781 kB / 0.6882 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1574, allocations: 77.98 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.1574, allocations: 3.25 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1574, allocations: 0 / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1574, allocations: 0 / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1575, allocations: 59.89 kB / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1579, allocations: 281.5 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.158, allocations: 68.11 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.1581, allocations: 45.75 kB / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.1581, allocations: 4 kB / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1581, allocations: 31.25 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1582, allocations: 0.7812 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003619/0.1585, allocations: 192.5 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1586, allocations: 85.14 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.1587, allocations: 129.8 kB / 0.6892 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1587, allocations: 25.7 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1588, allocations: 88.05 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.1588, allocations: 7.906 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1588, allocations: 17.7 kB / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1589, allocations: 314.8 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.159, allocations: 63.97 kB / 0.6897 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.1591, allocations: 63.95 kB / 0.6897 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1594, allocations: 201.8 kB / 0.6899 GB, free: 9.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1594, allocations: 0 / 0.6899 GB, free: 9.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002785/0.1597, allocations: 217 kB / 0.6901 GB, free: 9.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.1597, allocations: 71.39 kB / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1597, allocations: 0 / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1597, allocations: 0 / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.1598, allocations: 4 kB / 0.6902 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1598, allocations: 0 / 0.6902 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1599, allocations: 15.89 kB / 0.6902 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1599, allocations: 4 kB / 0.6902 GB, free: 9.523 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.0001064/0.16, allocations: 148.1 kB / 0.6904 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.16, allocations: 4 kB / 0.6904 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.16, allocations: 11.89 kB / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1601, allocations: 0 / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1601, allocations: 0 / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1601, allocations: 0 / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1602, allocations: 177.5 kB / 0.6906 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1603, allocations: 4 kB / 0.6906 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.1603, allocations: 3.938 kB / 0.6906 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1603, allocations: 4.234 kB / 0.6906 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1603, allocations: 0 / 0.6906 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1603, allocations: 4 kB / 0.6906 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1603, allocations: 0 / 0.6906 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1606, allocations: 261 kB / 0.6908 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1607, allocations: 85 kB / 0.6909 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1607, allocations: 0 / 0.6909 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.1608, allocations: 12.03 kB / 0.6909 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.1609, allocations: 11.98 kB / 0.6909 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1609, allocations: 4 kB / 0.6909 GB, free: 8.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.1609, allocations: 99.27 kB / 0.691 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1609, allocations: 0 / 0.691 GB, free: 8.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1612, allocations: 55.94 kB / 0.6911 GB, free: 8.547 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.0002561/0.1615, allocations: 159.1 kB / 0.6912 GB, free: 8.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1618, allocations: 250.7 kB / 0.6915 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1618, allocations: 0 / 0.6915 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.162, allocations: 103.4 kB / 0.6916 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1622, allocations: 12.69 kB / 0.6916 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1625, allocations: 192.7 kB / 0.6918 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1628, allocations: 0.6809 MB / 0.6924 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.1628, allocations: 0 / 0.6924 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.1628, allocations: 11.42 kB / 0.6924 GB, free: 7.059 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1628, allocations: 0 / 0.6924 GB, free: 7.059 MB / 494.1 MB Notification: Performance of Templates: time 0.003885/0.1667, allocations: 1.657 MB / 0.6941 GB, free: 5.441 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)