Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005696/0.005696, allocations: 101 kB / 15.73 MB, free: 6.066 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.00132/0.00132, allocations: 191 kB / 16.67 MB, free: 5.973 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.86 kB / 0.5814 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002299/0.1452, allocations: 1.415 MB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1464, allocations: 0.7955 MB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.1465, allocations: 4 kB / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.185e-05/0.1465, allocations: 3.938 kB / 0.6619 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.1466, allocations: 0 / 0.6619 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.1473, allocations: 171.5 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1474, allocations: 51.91 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.1475, allocations: 7.938 kB / 0.6621 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.1475, allocations: 15.97 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1476, allocations: 23.92 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1476, allocations: 8 kB / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.1479, allocations: 199.7 kB / 0.6623 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.148, allocations: 7.938 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.148, allocations: 23.91 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1484, allocations: 187.5 kB / 0.6625 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1484, allocations: 0 / 0.6625 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1484, allocations: 4 kB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1484, allocations: 3.938 kB / 0.6625 GB, free: 7.305 MB / 0.4981 GB 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.0004934/0.1489, allocations: 430.5 kB / 0.6629 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1489, allocations: 16.03 kB / 0.663 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.149, allocations: 0.9375 kB / 0.663 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1491, allocations: 176.3 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1491, allocations: 384 / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1491, allocations: 7.938 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1493, allocations: 69.67 kB / 0.6632 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1494, allocations: 0 / 0.6632 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1494, allocations: 8 kB / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1494, allocations: 0 / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1495, allocations: 47.95 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1499, allocations: 284.8 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.15, allocations: 58.56 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.1501, allocations: 48.91 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.1501, allocations: 3.938 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1501, allocations: 34.56 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1501, allocations: 0 / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003907/0.1505, allocations: 183.2 kB / 0.6638 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1506, allocations: 85.11 kB / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.1507, allocations: 123.8 kB / 0.664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1507, allocations: 29.7 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1508, allocations: 88.09 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1508, allocations: 7.953 kB / 0.6642 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1508, allocations: 29.67 kB / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.1509, allocations: 318.8 kB / 0.6645 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.151, allocations: 59.95 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.1511, allocations: 55.97 kB / 0.6646 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1513, allocations: 193.9 kB / 0.6648 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1514, allocations: 0 / 0.6648 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002641/0.1516, allocations: 217 kB / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.1517, allocations: 68.95 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1517, allocations: 4 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1517, allocations: 0 / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.1518, allocations: 4 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1518, allocations: 0 / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1518, allocations: 15.88 kB / 0.6651 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1519, allocations: 4 kB / 0.6651 GB, free: 4.398 MB / 0.4981 GB 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.877e-05/0.152, allocations: 152.3 kB / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.152, allocations: 8 kB / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.152, allocations: 8.141 kB / 0.6652 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.152, allocations: 0 / 0.6652 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.152, allocations: 3.984 kB / 0.6652 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1521, allocations: 0 / 0.6652 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1522, allocations: 177.5 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1522, allocations: 0 / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1523, allocations: 4 kB / 0.6654 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1523, allocations: 3.938 kB / 0.6654 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1523, allocations: 4 kB / 0.6654 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1523, allocations: 0 / 0.6654 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1523, allocations: 11.92 kB / 0.6654 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1526, allocations: 245.1 kB / 0.6657 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1526, allocations: 81.06 kB / 0.6657 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1526, allocations: 4 kB / 0.6658 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1527, allocations: 4 kB / 0.6658 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1528, allocations: 7.984 kB / 0.6658 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1528, allocations: 4.031 kB / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.1529, allocations: 99.27 kB / 0.6659 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1529, allocations: 0 / 0.6659 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003193/0.1532, allocations: 67.8 kB / 0.6659 GB, free: 3.414 MB / 0.4981 GB 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.000233/0.1535, allocations: 143.2 kB / 0.6661 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1538, allocations: 242.7 kB / 0.6663 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1538, allocations: 0 / 0.6663 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1539, allocations: 107.4 kB / 0.6664 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1541, allocations: 4 kB / 0.6664 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.1545, allocations: 177.3 kB / 0.6666 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1547, allocations: 0.6846 MB / 0.6672 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.1548, allocations: 0 / 0.6672 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.1548, allocations: 15.44 kB / 0.6673 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1548, allocations: 0 / 0.6673 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.00398/0.1588, allocations: 1.763 MB / 0.669 GB, free: 228 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)