Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001345/0.001345, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.00134/0.00134, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7281/0.7281, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 62.88 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 80.91 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002538/0.1332, allocations: 1.418 MB / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1344, allocations: 0.7877 MB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.1344, allocations: 11.88 kB / 0.6675 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.1345, allocations: 0 / 0.6675 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.1346, allocations: 3.938 kB / 0.6675 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.1352, allocations: 167.5 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1353, allocations: 51.97 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.1354, allocations: 4 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.1354, allocations: 15.97 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.1355, allocations: 23.92 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1355, allocations: 0 / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.1359, allocations: 211.7 kB / 0.6679 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1359, allocations: 7.938 kB / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.136, allocations: 27.91 kB / 0.668 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1362, allocations: 187.6 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1363, allocations: 0 / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1363, allocations: 0 / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1363, allocations: 0 / 0.6681 GB, free: 2.895 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.0004858/0.1368, allocations: 426.8 kB / 0.6686 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1368, allocations: 13.11 kB / 0.6686 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1369, allocations: 4.844 kB / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.137, allocations: 168.3 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.137, allocations: 4.375 kB / 0.6687 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.137, allocations: 7.938 kB / 0.6687 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1372, allocations: 77.59 kB / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1372, allocations: 0 / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1372, allocations: 0 / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1372, allocations: 4 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1374, allocations: 47.97 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1377, allocations: 284.8 kB / 0.6691 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1378, allocations: 66.48 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.1379, allocations: 44.91 kB / 0.6692 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1379, allocations: 4 kB / 0.6692 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.138, allocations: 34.56 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.138, allocations: 0 / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000354/0.1383, allocations: 183.3 kB / 0.6695 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1384, allocations: 89.05 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.1385, allocations: 126.1 kB / 0.6697 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1385, allocations: 25.7 kB / 0.6697 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.1386, allocations: 88.14 kB / 0.6698 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1386, allocations: 7.844 kB / 0.6698 GB, free: 1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1386, allocations: 25.7 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.1387, allocations: 318.8 kB / 0.6701 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.1388, allocations: 60 kB / 0.6702 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.1389, allocations: 59.95 kB / 0.6702 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1391, allocations: 193.9 kB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1391, allocations: 0 / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002582/0.1394, allocations: 212.9 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.1395, allocations: 67.39 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1395, allocations: 0 / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1395, allocations: 0 / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.1396, allocations: 8 kB / 0.6707 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1396, allocations: 3.938 kB / 0.6707 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1396, allocations: 8.047 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1396, allocations: 4 kB / 0.6707 GB, free: 15.99 MB / 0.5137 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.304e-05/0.1397, allocations: 147.4 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1398, allocations: 4 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.1398, allocations: 7.891 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1398, allocations: 240 / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1398, allocations: 4 kB / 0.6709 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1398, allocations: 3.984 kB / 0.6709 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.14, allocations: 189.4 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.14, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.14, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.14, allocations: 4 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1401, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1401, allocations: 4.062 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1401, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1403, allocations: 257.1 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.1404, allocations: 85 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1404, allocations: 0 / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1405, allocations: 4 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1406, allocations: 11.98 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1406, allocations: 4 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.1406, allocations: 95.31 kB / 0.6715 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1407, allocations: 0 / 0.6715 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003022/0.141, allocations: 71.97 kB / 0.6715 GB, free: 15.01 MB / 0.5137 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.0002501/0.1412, allocations: 148.5 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1415, allocations: 238.7 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1415, allocations: 0 / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1417, allocations: 107.4 kB / 0.672 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1419, allocations: 7.938 kB / 0.672 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1422, allocations: 203.2 kB / 0.6722 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1424, allocations: 0.6924 MB / 0.6729 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.1424, allocations: 7.438 kB / 0.6729 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.1425, allocations: 0 / 0.6729 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of Templates: time 0.002902/0.1454, allocations: 1.496 MB / 0.6744 GB, free: 12.02 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)