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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006217/0.006217, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.001248/0.001248, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7679/0.7679, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.39 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 80.22 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002415/0.1648, allocations: 1.407 MB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.166, allocations: 0.7829 MB / 0.6614 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.1661, allocations: 8 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.603e-05/0.1662, allocations: 0 / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.1662, allocations: 7.875 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.1668, allocations: 178.4 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.1669, allocations: 47.92 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.167, allocations: 7.984 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.1671, allocations: 8 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1671, allocations: 23.92 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1671, allocations: 4 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.1675, allocations: 207.7 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.1675, allocations: 11.92 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.1676, allocations: 19.88 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1678, allocations: 187.6 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1679, allocations: 4 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1679, allocations: 4 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1679, allocations: 0 / 0.662 GB, free: 11.09 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.0004704/0.1684, allocations: 423.7 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1684, allocations: 12.03 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.1684, allocations: 38.73 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1685, allocations: 8.844 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1686, allocations: 168.2 kB / 0.6627 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1686, allocations: 12.12 kB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1686, allocations: 0 / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1688, allocations: 77.66 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1688, allocations: 0 / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1688, allocations: 4 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1688, allocations: 0 / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1689, allocations: 47.95 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1693, allocations: 288.8 kB / 0.6631 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1694, allocations: 66.42 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.1695, allocations: 48.91 kB / 0.6632 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.1695, allocations: 0 / 0.6632 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1696, allocations: 30.56 kB / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1696, allocations: 0 / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003532/0.1699, allocations: 191.2 kB / 0.6634 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.17, allocations: 81.11 kB / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1701, allocations: 125.8 kB / 0.6636 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1701, allocations: 25.7 kB / 0.6636 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.1702, allocations: 88.12 kB / 0.6637 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.1702, allocations: 7.906 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1702, allocations: 21.72 kB / 0.6637 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1703, allocations: 322.8 kB / 0.664 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.1704, allocations: 55.97 kB / 0.6641 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.1705, allocations: 55.97 kB / 0.6641 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1707, allocations: 193.9 kB / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1708, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.171, allocations: 224.9 kB / 0.6645 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.1711, allocations: 59.41 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1711, allocations: 4 kB / 0.6646 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1711, allocations: 0 / 0.6646 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.1712, allocations: 7.984 kB / 0.6646 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1712, allocations: 4 kB / 0.6646 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.1712, allocations: 7.938 kB / 0.6646 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1712, allocations: 3.938 kB / 0.6646 GB, free: 8.145 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.761e-05/0.1714, allocations: 148.2 kB / 0.6648 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1714, allocations: 7.906 kB / 0.6648 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.1714, allocations: 7.906 kB / 0.6648 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1714, allocations: 4 kB / 0.6648 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1714, allocations: 8.062 kB / 0.6648 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1714, allocations: 0 / 0.6648 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1716, allocations: 173.5 kB / 0.665 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1716, allocations: 3.938 kB / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.1717, allocations: 11.98 kB / 0.665 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1717, allocations: 0 / 0.665 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1717, allocations: 0 / 0.665 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1717, allocations: 4 kB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1717, allocations: 0 / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.172, allocations: 249.1 kB / 0.6652 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.172, allocations: 85.02 kB / 0.6653 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.172, allocations: 0 / 0.6653 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1721, allocations: 7.984 kB / 0.6653 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1722, allocations: 8 kB / 0.6653 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1722, allocations: 0 / 0.6653 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.1723, allocations: 99.2 kB / 0.6654 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1723, allocations: 0 / 0.6654 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003093/0.1726, allocations: 63.98 kB / 0.6655 GB, free: 7.164 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.0006555/0.1733, allocations: 0.8273 MB / 0.6663 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1736, allocations: 235 kB / 0.6665 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1736, allocations: 4.031 kB / 0.6665 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1737, allocations: 103.4 kB / 0.6666 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1739, allocations: 12.36 kB / 0.6666 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1757, allocations: 1.758 MB / 0.6683 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.176, allocations: 0.6885 MB / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.176, allocations: 0 / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.176, allocations: 11.44 kB / 0.669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.176, allocations: 0 / 0.669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.1949, allocations: 2.846 MB / 0.6718 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.609, allocations: 9.734 kB / 0.6718 GB, free: 0.6719 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)