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.001137/0.001137, allocations: 106.1 kB / 16.41 MB, free: 6.008 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.00121/0.00121, allocations: 185.7 kB / 17.34 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8328/0.8328, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.81 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002892/0.1545, allocations: 1.41 MB / 0.6617 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1559, allocations: 0.7878 MB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.156, allocations: 0 / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.1561, allocations: 7.875 kB / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.1562, allocations: 7.938 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.157, allocations: 175.5 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1571, allocations: 47.95 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.1572, allocations: 8 kB / 0.6627 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.1572, allocations: 15.98 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.1573, allocations: 15.92 kB / 0.6628 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1573, allocations: 8 kB / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1577, allocations: 207.7 kB / 0.663 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.1578, allocations: 7.938 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1578, allocations: 23.92 kB / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1582, allocations: 195.5 kB / 0.6632 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1582, allocations: 0 / 0.6632 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1582, allocations: 0 / 0.6632 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1582, allocations: 0 / 0.6632 GB, free: 7.336 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.0005376/0.1587, allocations: 426.7 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1588, allocations: 12.03 kB / 0.6636 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.1588, allocations: 4.938 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.159, allocations: 172.3 kB / 0.6638 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.159, allocations: 384 / 0.6638 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.159, allocations: 7.938 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1592, allocations: 73.67 kB / 0.6638 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1592, allocations: 3.938 kB / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1593, allocations: 0 / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1593, allocations: 0 / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1594, allocations: 59.94 kB / 0.6639 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1598, allocations: 276.8 kB / 0.6642 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1599, allocations: 62.5 kB / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.16, allocations: 44.91 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1601, allocations: 0 / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1601, allocations: 46.5 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1601, allocations: 0 / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000376/0.1605, allocations: 183.2 kB / 0.6645 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1605, allocations: 81.11 kB / 0.6646 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1606, allocations: 121.8 kB / 0.6647 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1607, allocations: 25.7 kB / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1607, allocations: 88.14 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1607, allocations: 7.891 kB / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1608, allocations: 29.73 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1609, allocations: 318.8 kB / 0.6651 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.161, allocations: 63.95 kB / 0.6652 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.1611, allocations: 55.91 kB / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1613, allocations: 197.8 kB / 0.6654 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1613, allocations: 0 / 0.6654 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002714/0.1616, allocations: 221 kB / 0.6656 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.1617, allocations: 67.39 kB / 0.6657 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1617, allocations: 0 / 0.6657 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1617, allocations: 0 / 0.6657 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.1617, allocations: 4 kB / 0.6657 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1618, allocations: 0 / 0.6657 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1618, allocations: 7.984 kB / 0.6657 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1618, allocations: 8 kB / 0.6657 GB, free: 4.43 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 0.0001145/0.162, allocations: 152.3 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.162, allocations: 7.906 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.162, allocations: 11.91 kB / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.162, allocations: 0 / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.162, allocations: 0 / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.162, allocations: 0 / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1622, allocations: 177.5 kB / 0.6661 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1622, allocations: 3.938 kB / 0.6661 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.1623, allocations: 4 kB / 0.6661 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1623, allocations: 0 / 0.6661 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1623, allocations: 4 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1623, allocations: 0 / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1623, allocations: 4 kB / 0.6661 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1626, allocations: 245.1 kB / 0.6663 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1626, allocations: 89.02 kB / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1627, allocations: 0 / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.1627, allocations: 4 kB / 0.6664 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.1629, allocations: 7.984 kB / 0.6664 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1629, allocations: 32 / 0.6664 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.1629, allocations: 109.9 kB / 0.6665 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.163, allocations: 0 / 0.6665 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003378/0.1633, allocations: 63.92 kB / 0.6666 GB, free: 3.449 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.0002799/0.1636, allocations: 147.2 kB / 0.6667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1639, allocations: 238.7 kB / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1639, allocations: 0 / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1641, allocations: 107.4 kB / 0.667 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1643, allocations: 8 kB / 0.6671 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.1647, allocations: 199.1 kB / 0.6672 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.165, allocations: 0.6849 MB / 0.6679 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.165, allocations: 11.44 kB / 0.6679 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.165, allocations: 0 / 0.6679 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.003553/0.1686, allocations: 1.506 MB / 0.6694 GB, free: 472 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)