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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001642/0.001642, allocations: 192.5 kB / 16.14 MB, free: 6.707 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 286.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 88.67 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 86.98 MB / 0.6795 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002275/0.1314, allocations: 1.481 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1326, allocations: 0.8095 MB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.1326, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.411e-05/0.1327, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.1327, allocations: 8.5 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.1332, allocations: 133.4 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.1333, allocations: 31.97 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.1333, allocations: 8.906 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.1334, allocations: 17.42 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.1334, allocations: 15.92 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1334, allocations: 4 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1337, allocations: 188.3 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.1338, allocations: 11.94 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1338, allocations: 27.86 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1341, allocations: 187.6 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1341, allocations: 0 / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1341, allocations: 0 / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1341, allocations: 0 / 0.6823 GB, free: 14.26 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.0004263/0.1345, allocations: 426.8 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1346, allocations: 8.031 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1346, allocations: 8.844 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1347, allocations: 172.2 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1347, allocations: 12.38 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1347, allocations: 384 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1349, allocations: 81.92 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.1349, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1349, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.135, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1351, allocations: 47.95 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1354, allocations: 280.9 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1355, allocations: 58.58 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.1356, allocations: 48.88 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1356, allocations: 3.938 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1357, allocations: 30.56 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1357, allocations: 0 / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000363/0.136, allocations: 195.2 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1361, allocations: 77.11 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.1362, allocations: 133.7 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1362, allocations: 29.7 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1363, allocations: 84.12 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.1363, allocations: 11.91 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1363, allocations: 21.7 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.1364, allocations: 314.8 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.1365, allocations: 63.98 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.1366, allocations: 59.91 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1369, allocations: 193.8 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1369, allocations: 4.062 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.1372, allocations: 216.9 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.1372, allocations: 67.39 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1372, allocations: 4 kB / 0.6848 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1372, allocations: 7.938 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.1373, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1373, allocations: 4 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1374, allocations: 7.984 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1374, allocations: 0 / 0.6848 GB, free: 11.35 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 9.856e-05/0.1375, allocations: 156.1 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1375, allocations: 7.906 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.1375, allocations: 3.906 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1375, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1376, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1376, allocations: 0 / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1377, allocations: 173.6 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1377, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.1378, allocations: 4 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1378, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1378, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1378, allocations: 4 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1378, allocations: 0 / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1381, allocations: 253.1 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1381, allocations: 85.02 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1381, allocations: 0 / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1382, allocations: 4 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.1383, allocations: 7.984 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1383, allocations: 3.938 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.1384, allocations: 99.27 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1384, allocations: 0 / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1387, allocations: 63.95 kB / 0.6857 GB, free: 10.39 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.0002412/0.1389, allocations: 159.1 kB / 0.6858 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1392, allocations: 242.7 kB / 0.6861 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1392, allocations: 3.938 kB / 0.6861 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1394, allocations: 99.38 kB / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.1396, allocations: 11.94 kB / 0.6862 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1399, allocations: 187.3 kB / 0.6864 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1401, allocations: 0.6887 MB / 0.687 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.1401, allocations: 0 / 0.687 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.1402, allocations: 7.438 kB / 0.687 GB, free: 8.906 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1402, allocations: 0 / 0.687 GB, free: 8.906 MB / 494.1 MB Notification: Performance of Templates: time 0.003634/0.1438, allocations: 1.656 MB / 0.6887 GB, free: 7.289 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)