Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009512/0.0009512, allocations: 96.19 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 174.4 kB / 16.56 MB, free: 6.387 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.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6676/0.6676, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 12 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 77.16 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001349/0.135, allocations: 1.122 MB / 0.5579 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1361, allocations: 0.7262 MB / 0.5587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1361, allocations: 0 / 0.5587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.253e-05/0.1362, allocations: 3.938 kB / 0.5587 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.1362, allocations: 4 kB / 0.5587 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.1367, allocations: 119 kB / 0.5588 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.1368, allocations: 23.97 kB / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.1369, allocations: 4 kB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.1369, allocations: 19.86 kB / 0.5588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.1369, allocations: 15.98 kB / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.137, allocations: 3.938 kB / 0.5588 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.1372, allocations: 171.7 kB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1373, allocations: 7.984 kB / 0.559 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1373, allocations: 33.64 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1375, allocations: 131.8 kB / 0.5592 GB, free: 9.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1375, allocations: 0 / 0.5592 GB, free: 9.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1375, allocations: 0 / 0.5592 GB, free: 9.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1375, allocations: 0 / 0.5592 GB, free: 9.207 MB / 430.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.0004102/0.1379, allocations: 426.9 kB / 0.5596 GB, free: 8.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.138, allocations: 16.02 kB / 0.5596 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.138, allocations: 3.906 kB / 0.5596 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1381, allocations: 167 kB / 0.5598 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1381, allocations: 0 / 0.5598 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1382, allocations: 8 kB / 0.5598 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1383, allocations: 85.61 kB / 0.5598 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1383, allocations: 3.938 kB / 0.5599 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1384, allocations: 0 / 0.5599 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1384, allocations: 0 / 0.5599 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1385, allocations: 51.91 kB / 0.5599 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.1389, allocations: 284.8 kB / 0.5602 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.139, allocations: 58.55 kB / 0.5602 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.139, allocations: 8.016 kB / 0.5602 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.139, allocations: 30.56 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.139, allocations: 0 / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004025/0.1394, allocations: 276.4 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1395, allocations: 77.11 kB / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.1396, allocations: 125.8 kB / 0.5607 GB, free: 7.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1396, allocations: 25.7 kB / 0.5607 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1397, allocations: 88.05 kB / 0.5608 GB, free: 7.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.1397, allocations: 11.84 kB / 0.5608 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1397, allocations: 4.031 kB / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.1398, allocations: 318.8 kB / 0.5611 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1399, allocations: 59.97 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.14, allocations: 59.97 kB / 0.5613 GB, free: 6.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1401, allocations: 115.4 kB / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1401, allocations: 0 / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002732/0.1404, allocations: 228.9 kB / 0.5616 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.1405, allocations: 59.41 kB / 0.5616 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1405, allocations: 64 / 0.5616 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1405, allocations: 4 kB / 0.5617 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.1405, allocations: 7.984 kB / 0.5617 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1406, allocations: 0 / 0.5617 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1406, allocations: 19.84 kB / 0.5617 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1406, allocations: 4 kB / 0.5617 GB, free: 6.34 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.1407, allocations: 149.1 kB / 0.5618 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1408, allocations: 7.953 kB / 0.5618 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.1408, allocations: 3.906 kB / 0.5618 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1408, allocations: 3.938 kB / 0.5618 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1408, allocations: 4 kB / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1408, allocations: 0 / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.141, allocations: 169.6 kB / 0.562 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.141, allocations: 0 / 0.562 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.141, allocations: 11.98 kB / 0.562 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.141, allocations: 3.953 kB / 0.562 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.141, allocations: 4 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.141, allocations: 0 / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.141, allocations: 3.938 kB / 0.562 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1413, allocations: 249.1 kB / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.1414, allocations: 85.14 kB / 0.5623 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1414, allocations: 3.953 kB / 0.5624 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1415, allocations: 7.984 kB / 0.5624 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.1415, allocations: 4 kB / 0.5624 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1416, allocations: 4 kB / 0.5624 GB, free: 5.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.1416, allocations: 99.25 kB / 0.5625 GB, free: 5.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1416, allocations: 0 / 0.5625 GB, free: 5.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1419, allocations: 52 kB / 0.5625 GB, free: 5.383 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.1422, allocations: 159.9 kB / 0.5627 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1425, allocations: 238.7 kB / 0.5629 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1425, allocations: 0 / 0.5629 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1426, allocations: 103.4 kB / 0.563 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1428, allocations: 13.77 kB / 0.563 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.1431, allocations: 184.6 kB / 0.5632 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1433, allocations: 0.6965 MB / 0.5639 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.1433, allocations: 3.906 kB / 0.5639 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.1433, allocations: 7.438 kB / 0.5639 GB, free: 3.902 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1433, allocations: 0 / 0.5639 GB, free: 3.902 MB / 430.1 MB Notification: Performance of Templates: time 0.003752/0.1471, allocations: 1.62 MB / 0.5655 GB, free: 2.301 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)