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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_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.001503/0.001503, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.002635/0.002635, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.733/2.733, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.853/1.853, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005884/0.0005885, allocations: 8.5 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3184, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002636/0.3211, allocations: 1.132 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3233, allocations: 0.7222 MB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.3234, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.381e-05/0.3235, allocations: 3.984 kB / 0.5891 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.3235, allocations: 3.938 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009457/0.3245, allocations: 119.8 kB / 0.5892 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3246, allocations: 23.97 kB / 0.5892 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3248, allocations: 4 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.3249, allocations: 15.92 kB / 0.5893 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.325, allocations: 15.97 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.325, allocations: 7.938 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3254, allocations: 163.8 kB / 0.5894 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.3255, allocations: 11.98 kB / 0.5895 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.3256, allocations: 33.7 kB / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3259, allocations: 131.9 kB / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3259, allocations: 4 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.3259, allocations: 0 / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.326, allocations: 0 / 0.5896 GB, free: 0.625 MB / 494.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.0006845/0.3266, allocations: 425 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.3267, allocations: 8.031 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.3268, allocations: 38.55 kB / 0.5901 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.3269, allocations: 8 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3271, allocations: 172.7 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3271, allocations: 4 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3271, allocations: 4 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3274, allocations: 73.66 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3275, allocations: 4 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3275, allocations: 3.938 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3275, allocations: 0 / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.3277, allocations: 59.91 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.3284, allocations: 276.9 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3286, allocations: 58.55 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3286, allocations: 4 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3287, allocations: 34.59 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.324e-06/0.3287, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006866/0.3294, allocations: 276.3 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.3295, allocations: 81.11 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3296, allocations: 117.8 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3297, allocations: 37.72 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.3298, allocations: 88.08 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.3298, allocations: 7.906 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.3298, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.33, allocations: 322.7 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3302, allocations: 59.95 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3303, allocations: 55.97 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3305, allocations: 123.4 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3306, allocations: 4 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005361/0.3311, allocations: 220.9 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.3312, allocations: 61.75 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3312, allocations: 4 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3313, allocations: 0 / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.3314, allocations: 7.984 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3314, allocations: 4 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.3315, allocations: 4 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3315, allocations: 4 kB / 0.5922 GB, free: 13.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.3317, allocations: 151.5 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3318, allocations: 7.906 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.3318, allocations: 7.906 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3318, allocations: 0 / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3318, allocations: 7.938 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3318, allocations: 0 / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3322, allocations: 181.6 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3322, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.3322, allocations: 7.984 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3322, allocations: 0 / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3323, allocations: 0 / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3323, allocations: 0 / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3323, allocations: 8.062 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.3328, allocations: 253.1 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.3329, allocations: 81.02 kB / 0.5928 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.333, allocations: 4 kB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3331, allocations: 7.984 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.3333, allocations: 8 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3333, allocations: 0 / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001345/0.3335, allocations: 107.1 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.3335, allocations: 0 / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007104/0.3342, allocations: 60 kB / 0.593 GB, free: 12.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/0.3359, allocations: 0.8351 MB / 0.5938 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.3365, allocations: 238.7 kB / 0.5941 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3365, allocations: 0 / 0.5941 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3367, allocations: 107.4 kB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.337, allocations: 7.875 kB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3381, allocations: 410.5 kB / 0.5946 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3384, allocations: 0.6848 MB / 0.5952 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.3384, allocations: 3.906 kB / 0.5952 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.3385, allocations: 19.42 kB / 0.5952 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.3385, allocations: 0 / 0.5952 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09037/0.4289, allocations: 2.488 MB / 0.5977 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00048/0.4295, allocations: 210.8 kB / 0.5979 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/3.877, allocations: 0 / 0.5979 GB, free: 7.797 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: