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.001447/0.001447, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.00173/0.00173, allocations: 190.3 kB / 17.2 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8069/0.8069, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.5025 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4073, allocations: 80.18 MB / 0.5808 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002597/0.41, allocations: 1.406 MB / 0.5821 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.4112, allocations: 0.8008 MB / 0.5829 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.4112, allocations: 1.438 kB / 0.5829 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.4113, allocations: 0 / 0.5829 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.4114, allocations: 6.188 kB / 0.5829 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.412, allocations: 166.8 kB / 0.5831 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.4121, allocations: 51.08 kB / 0.5831 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.4122, allocations: 21.5 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.4123, allocations: 14.27 kB / 0.5832 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.4123, allocations: 17.86 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4124, allocations: 4.469 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.4127, allocations: 199.9 kB / 0.5834 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.4127, allocations: 5.656 kB / 0.5834 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.4127, allocations: 27.72 kB / 0.5834 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.413, allocations: 186.5 kB / 0.5836 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.413, allocations: 0.7812 kB / 0.5836 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.413, allocations: 0 / 0.5836 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.413, allocations: 5.719 kB / 0.5836 GB, free: 25.25 MB / 446.1 MB 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.0004217/0.4134, allocations: 429.5 kB / 0.584 GB, free: 24.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4135, allocations: 9.438 kB / 0.584 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.4135, allocations: 9.781 kB / 0.584 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.4136, allocations: 174.9 kB / 0.5842 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4137, allocations: 5.875 kB / 0.5842 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4137, allocations: 8 kB / 0.5842 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.4139, allocations: 78.17 kB / 0.5843 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4139, allocations: 0 / 0.5843 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4139, allocations: 3.312 kB / 0.5843 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4139, allocations: 1.312 kB / 0.5843 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.414, allocations: 47.73 kB / 0.5843 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.4144, allocations: 276.9 kB / 0.5846 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4145, allocations: 62.23 kB / 0.5846 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.4146, allocations: 46.16 kB / 0.5847 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4146, allocations: 1.969 kB / 0.5847 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4146, allocations: 32.31 kB / 0.5847 GB, free: 24.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4146, allocations: 1.281 kB / 0.5847 GB, free: 24.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003795/0.415, allocations: 185.1 kB / 0.5849 GB, free: 23.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4151, allocations: 79.02 kB / 0.585 GB, free: 23.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.4152, allocations: 126.5 kB / 0.5851 GB, free: 23.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4152, allocations: 27.77 kB / 0.5851 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.4152, allocations: 99.95 kB / 0.5852 GB, free: 23.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.4152, allocations: 7.344 kB / 0.5852 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4153, allocations: 23.64 kB / 0.5852 GB, free: 23.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.4154, allocations: 327.8 kB / 0.5856 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.4154, allocations: 50.75 kB / 0.5856 GB, free: 23.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.4155, allocations: 60.95 kB / 0.5857 GB, free: 23.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4157, allocations: 193.2 kB / 0.5858 GB, free: 23.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4157, allocations: 0.6562 kB / 0.5858 GB, free: 23.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002518/0.416, allocations: 216.2 kB / 0.5861 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.4161, allocations: 63.45 kB / 0.5861 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4161, allocations: 0.7812 kB / 0.5861 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4161, allocations: 0 / 0.5861 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.4161, allocations: 7.281 kB / 0.5861 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4162, allocations: 0 / 0.5861 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.4162, allocations: 17.2 kB / 0.5861 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4162, allocations: 2.031 kB / 0.5861 GB, free: 22.89 MB / 446.1 MB 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 7.32e-05/0.4163, allocations: 148.5 kB / 0.5863 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4163, allocations: 6.984 kB / 0.5863 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.4164, allocations: 12.81 kB / 0.5863 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4164, allocations: 0 / 0.5863 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4164, allocations: 0 / 0.5863 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4164, allocations: 1.156 kB / 0.5863 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4165, allocations: 174.8 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4165, allocations: 4.062 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.4166, allocations: 3.281 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4166, allocations: 1.281 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.4166, allocations: 2.219 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4166, allocations: 0 / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4166, allocations: 1.266 kB / 0.5865 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4168, allocations: 260.2 kB / 0.5867 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4169, allocations: 84.52 kB / 0.5868 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4169, allocations: 2.844 kB / 0.5868 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.417, allocations: 7.344 kB / 0.5868 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4171, allocations: 7.078 kB / 0.5868 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4171, allocations: 1.156 kB / 0.5868 GB, free: 22.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.4171, allocations: 97.02 kB / 0.5869 GB, free: 22.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4171, allocations: 3.938 kB / 0.5869 GB, free: 22.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.4175, allocations: 60.86 kB / 0.587 GB, free: 22.09 MB / 446.1 MB 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.0002511/0.4177, allocations: 147.9 kB / 0.5871 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.418, allocations: 240.8 kB / 0.5873 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.418, allocations: 1.438 kB / 0.5874 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4181, allocations: 107 kB / 0.5875 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.4184, allocations: 8.375 kB / 0.5875 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.4187, allocations: 202.4 kB / 0.5877 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.4189, allocations: 0.6866 MB / 0.5883 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.4189, allocations: 9.344 kB / 0.5883 GB, free: 20.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4189, allocations: 0 / 0.5883 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Templates: time 0.003184/0.4221, allocations: 1.499 MB / 0.5898 GB, free: 20.14 MB / 446.1 MB 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)