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.006933/0.006939, allocations: 104.7 kB / 15.74 MB, free: 6.035 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.001623/0.001623, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8335/0.8335, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 62.72 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 80.92 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002445/0.1388, allocations: 1.419 MB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.14, allocations: 0.776 MB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.1401, allocations: 7.938 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.284e-05/0.1402, allocations: 3.938 kB / 0.6668 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.1402, allocations: 7.984 kB / 0.6668 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.141, allocations: 175.5 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1411, allocations: 47.91 kB / 0.667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.1412, allocations: 12 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.1412, allocations: 11.98 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.1413, allocations: 23.91 kB / 0.6671 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1413, allocations: 4 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.1416, allocations: 203.7 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.1417, allocations: 11.94 kB / 0.6673 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1417, allocations: 15.92 kB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1421, allocations: 191.6 kB / 0.6675 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1421, allocations: 0 / 0.6675 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1421, allocations: 7.938 kB / 0.6675 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1421, allocations: 4 kB / 0.6675 GB, free: 2.871 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.0005005/0.1426, allocations: 418.8 kB / 0.6679 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1426, allocations: 13.11 kB / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1427, allocations: 4.844 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1428, allocations: 176.3 kB / 0.6681 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1428, allocations: 4.375 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1429, allocations: 7.938 kB / 0.6681 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.143, allocations: 69.67 kB / 0.6682 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1431, allocations: 11.98 kB / 0.6682 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1431, allocations: 4 kB / 0.6682 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1431, allocations: 0 / 0.6682 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1432, allocations: 47.95 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.1436, allocations: 280.8 kB / 0.6685 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1437, allocations: 58.55 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.1438, allocations: 56.91 kB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1439, allocations: 0 / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1439, allocations: 34.5 kB / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1439, allocations: 0 / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003776/0.1443, allocations: 183.2 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1443, allocations: 81.11 kB / 0.6689 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.1444, allocations: 125.7 kB / 0.669 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1445, allocations: 37.73 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1445, allocations: 80.14 kB / 0.6691 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.1445, allocations: 11.91 kB / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.1446, allocations: 17.7 kB / 0.6691 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.1447, allocations: 322.8 kB / 0.6694 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1448, allocations: 59.91 kB / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.1449, allocations: 59.95 kB / 0.6696 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1451, allocations: 193.9 kB / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1452, allocations: 0 / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002796/0.1454, allocations: 220.9 kB / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.1455, allocations: 69.42 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1455, allocations: 0 / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1455, allocations: 0 / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.1456, allocations: 4 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.1456, allocations: 0 / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1457, allocations: 7.984 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1457, allocations: 8 kB / 0.67 GB, free: 15.97 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 0.0001036/0.1458, allocations: 147.5 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1458, allocations: 7.984 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.1459, allocations: 3.906 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1459, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1459, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1459, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.146, allocations: 185.4 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1461, allocations: 0 / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.1461, allocations: 12.06 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1461, allocations: 0 / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1461, allocations: 3.938 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1461, allocations: 3.938 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1461, allocations: 0 / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1464, allocations: 253.1 kB / 0.6706 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1465, allocations: 81.02 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1465, allocations: 8.031 kB / 0.6707 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.1466, allocations: 4 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.1466, allocations: 3.984 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1467, allocations: 4.234 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.1467, allocations: 99.27 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1467, allocations: 0 / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000323/0.147, allocations: 63.92 kB / 0.6709 GB, free: 15 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.0002689/0.1473, allocations: 148.5 kB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.1477, allocations: 250.6 kB / 0.6713 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1477, allocations: 0 / 0.6713 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1478, allocations: 99.38 kB / 0.6714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.148, allocations: 10.25 kB / 0.6714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.1484, allocations: 176.2 kB / 0.6715 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1487, allocations: 0.6885 MB / 0.6722 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.1487, allocations: 8 kB / 0.6722 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.1487, allocations: 7.438 kB / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1487, allocations: 0 / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.004181/0.1529, allocations: 1.761 MB / 0.6739 GB, free: 11.78 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)