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.001282/0.001282, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001104/0.001104, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9795/0.9795, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 59.84 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1924, allocations: 80.94 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003378/0.1958, allocations: 1.477 MB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1975, allocations: 0.7724 MB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.1976, allocations: 4 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.862e-05/0.1976, allocations: 7.984 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.1977, allocations: 3.938 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.1985, allocations: 150.4 kB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1986, allocations: 55.91 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.1987, allocations: 4.281 kB / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.1988, allocations: 15.98 kB / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.1989, allocations: 15.92 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1989, allocations: 7.938 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.1993, allocations: 199.7 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1994, allocations: 15.92 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.1995, allocations: 15.88 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1999, allocations: 199.6 kB / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1999, allocations: 3.938 kB / 0.5869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1999, allocations: 0 / 0.5869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1999, allocations: 0 / 0.5869 GB, free: 1.801 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.0006078/0.2005, allocations: 434.7 kB / 0.5873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2006, allocations: 8.031 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.2006, allocations: 30.75 kB / 0.5873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2007, allocations: 8.844 kB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2008, allocations: 168.4 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2009, allocations: 4.375 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2009, allocations: 7.938 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2011, allocations: 77.59 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2012, allocations: 0 / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2012, allocations: 0 / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2012, allocations: 3.984 kB / 0.5876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2013, allocations: 47.97 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.2017, allocations: 284.8 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2019, allocations: 58.55 kB / 0.588 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.202, allocations: 52.84 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.202, allocations: 0 / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2021, allocations: 34.56 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.2021, allocations: 0 / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005244/0.2026, allocations: 183.3 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2027, allocations: 81.11 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2028, allocations: 129.2 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.2029, allocations: 25.7 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.2029, allocations: 92.06 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.203, allocations: 11.81 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.203, allocations: 17.72 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2032, allocations: 322.8 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2033, allocations: 67.91 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2035, allocations: 63.95 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.2038, allocations: 189.9 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2039, allocations: 0 / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004096/0.2043, allocations: 213 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.2044, allocations: 65.59 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2044, allocations: 3.984 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2044, allocations: 4 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.2045, allocations: 7.938 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2045, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.2045, allocations: 7.906 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2045, allocations: 7.938 kB / 0.5895 GB, free: 14.85 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.0001055/0.2047, allocations: 151.5 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2047, allocations: 0 / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.2047, allocations: 7.906 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2047, allocations: 3.984 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2047, allocations: 4 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2047, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.2049, allocations: 173.6 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2049, allocations: 0 / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.205, allocations: 4 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.205, allocations: 0 / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.205, allocations: 4 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.205, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.205, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.2054, allocations: 253 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2055, allocations: 85.05 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.2055, allocations: 8.047 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2056, allocations: 7.938 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2057, allocations: 7.984 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2058, allocations: 4 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.2058, allocations: 99.2 kB / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2058, allocations: 0 / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004939/0.2064, allocations: 59.97 kB / 0.5903 GB, free: 13.88 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.0009179/0.2073, allocations: 0.8275 MB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.2076, allocations: 250.6 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2076, allocations: 4.031 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2078, allocations: 99.38 kB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.208, allocations: 8 kB / 0.5914 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2098, allocations: 1.756 MB / 0.5932 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2101, allocations: 0.6846 MB / 0.5938 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.2101, allocations: 4 kB / 0.5938 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.2102, allocations: 19.44 kB / 0.5939 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.2102, allocations: 0 / 0.5939 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8628/1.073, allocations: 2.633 MB / 0.5964 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.073, allocations: 235.8 kB / 0.5967 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.425, allocations: 0 / 0.5967 GB, free: 7.363 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/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)