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.005219/0.005219, allocations: 104 kB / 15.73 MB, free: 6.043 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.001153/0.001153, allocations: 189.6 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.28/1.28, 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/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.39 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1528, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002749/0.1556, allocations: 1.42 MB / 0.6606 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1569, allocations: 0.7839 MB / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.1569, allocations: 0 / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.047e-05/0.157, allocations: 0 / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.1571, allocations: 7.938 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.1578, allocations: 178.3 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1579, allocations: 47.86 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.158, allocations: 15.98 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.158, allocations: 12 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.1581, allocations: 23.89 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1581, allocations: 4 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.1585, allocations: 199.7 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.1585, allocations: 15.92 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.1585, allocations: 11.94 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1589, allocations: 191.6 kB / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1589, allocations: 0 / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1589, allocations: 0 / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1589, allocations: 4 kB / 0.662 GB, free: 7.859 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.0005422/0.1594, allocations: 435.5 kB / 0.6624 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1595, allocations: 11.97 kB / 0.6625 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1595, allocations: 30.75 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1596, allocations: 8.938 kB / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1597, allocations: 172.3 kB / 0.6627 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1597, allocations: 4.125 kB / 0.6627 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1597, allocations: 4 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1599, allocations: 77.66 kB / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1599, allocations: 0 / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1599, allocations: 0 / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1599, allocations: 0 / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1601, allocations: 47.97 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1604, allocations: 284.8 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1606, allocations: 62.55 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.1607, allocations: 52.84 kB / 0.6632 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1607, allocations: 0 / 0.6632 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1607, allocations: 38.56 kB / 0.6632 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1607, allocations: 0 / 0.6632 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003684/0.1611, allocations: 183.2 kB / 0.6634 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1611, allocations: 85.09 kB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1613, allocations: 128.3 kB / 0.6636 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1613, allocations: 25.7 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1613, allocations: 92.12 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.1614, allocations: 3.906 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1614, allocations: 21.72 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.1615, allocations: 318.8 kB / 0.664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.1616, allocations: 59.97 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.1617, allocations: 55.97 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1619, allocations: 197.9 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1619, allocations: 3.938 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002682/0.1622, allocations: 221.1 kB / 0.6645 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.1623, allocations: 63.41 kB / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1623, allocations: 0 / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1623, allocations: 4.031 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.1624, allocations: 7.984 kB / 0.6646 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1624, allocations: 0 / 0.6646 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.1624, allocations: 8 kB / 0.6646 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1625, allocations: 7.938 kB / 0.6646 GB, free: 4.902 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.0001167/0.1626, allocations: 148.4 kB / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1626, allocations: 3.906 kB / 0.6648 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.1626, allocations: 7.906 kB / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1626, allocations: 0 / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1627, allocations: 0 / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1627, allocations: 3.984 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1628, allocations: 173.5 kB / 0.6649 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1628, allocations: 4 kB / 0.665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1629, allocations: 11.92 kB / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1629, allocations: 0 / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1629, allocations: 4 kB / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.1629, allocations: 8 kB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1629, allocations: 0 / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1632, allocations: 245.1 kB / 0.6652 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1633, allocations: 85.02 kB / 0.6653 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1633, allocations: 4.031 kB / 0.6653 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1634, allocations: 7.984 kB / 0.6653 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.1635, allocations: 8 kB / 0.6653 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1635, allocations: 0 / 0.6653 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.1636, allocations: 103.2 kB / 0.6654 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1636, allocations: 0 / 0.6654 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003381/0.1639, allocations: 60 kB / 0.6655 GB, free: 3.926 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.000761/0.1647, allocations: 0.8311 MB / 0.6663 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1651, allocations: 238.7 kB / 0.6665 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1651, allocations: 0 / 0.6665 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1652, allocations: 103.4 kB / 0.6666 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1655, allocations: 8.094 kB / 0.6666 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1674, allocations: 1.759 MB / 0.6683 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1676, allocations: 0.6884 MB / 0.669 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1677, allocations: 0 / 0.669 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1677, allocations: 15.44 kB / 0.669 GB, free: 104 kB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1677, allocations: 0 / 0.669 GB, free: 104 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1863, allocations: 2.805 MB / 0.6718 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.492, allocations: 16.06 kB / 0.6718 GB, free: 13.45 MB / 0.5137 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)