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.0008304/0.0008304, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007919/0.000792, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9255/0.9255, allocations: 135.3 MB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12 kB / 0.5071 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 82.31 MB / 0.5875 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00131/0.1487, allocations: 1.132 MB / 0.5886 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1497, allocations: 0.7278 MB / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1498, allocations: 0 / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.1498, allocations: 0 / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.1499, allocations: 4 kB / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1504, allocations: 134.7 kB / 0.5894 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.261e-05/0.1504, allocations: 35.91 kB / 0.5895 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.1505, allocations: 4 kB / 0.5895 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.1505, allocations: 19.91 kB / 0.5895 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.1506, allocations: 19.92 kB / 0.5895 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1506, allocations: 0 / 0.5895 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1509, allocations: 179.8 kB / 0.5897 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.1509, allocations: 11.98 kB / 0.5897 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.151, allocations: 29.7 kB / 0.5897 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1511, allocations: 132 kB / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1511, allocations: 0 / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1511, allocations: 0 / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1512, allocations: 0 / 0.5898 GB, free: 0.5898 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.0003976/0.1516, allocations: 430.5 kB / 0.5903 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1516, allocations: 12.03 kB / 0.5903 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.1516, allocations: 34.56 kB / 0.5903 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1517, allocations: 8 kB / 0.5903 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1518, allocations: 170.9 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1518, allocations: 4 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1518, allocations: 0 / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.152, allocations: 77.66 kB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.152, allocations: 0 / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.152, allocations: 0 / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.152, allocations: 0 / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1522, allocations: 59.91 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1525, allocations: 276.9 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1526, allocations: 62.55 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.1527, allocations: 56.89 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1528, allocations: 0 / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1528, allocations: 30.56 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1528, allocations: 0 / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.1532, allocations: 191.2 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1532, allocations: 85.12 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1533, allocations: 129.8 kB / 0.5914 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1533, allocations: 25.7 kB / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1534, allocations: 92.06 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1534, allocations: 11.89 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.1534, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.1535, allocations: 318.8 kB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.1536, allocations: 55.95 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.1537, allocations: 63.97 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1538, allocations: 115.4 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1538, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002655/0.1541, allocations: 228.8 kB / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.1542, allocations: 63.39 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1542, allocations: 0 / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.1542, allocations: 3.938 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.1542, allocations: 8 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1542, allocations: 3.984 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1543, allocations: 8 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1543, allocations: 8.016 kB / 0.5924 GB, free: 13.72 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 8.796e-05/0.1544, allocations: 147.5 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1544, allocations: 7.906 kB / 0.5925 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.1545, allocations: 7.906 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1545, allocations: 8 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1545, allocations: 0 / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1545, allocations: 0 / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1546, allocations: 173.6 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1546, allocations: 0 / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1547, allocations: 4 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1547, allocations: 0 / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1547, allocations: 7.984 kB / 0.5927 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1547, allocations: 0 / 0.5927 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1547, allocations: 0 / 0.5927 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.155, allocations: 253.1 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.155, allocations: 85.02 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.155, allocations: 0 / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1551, allocations: 7.984 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.1552, allocations: 8 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1552, allocations: 8.031 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.1553, allocations: 91.27 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1553, allocations: 0 / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002944/0.1556, allocations: 67.98 kB / 0.5932 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.0006011/0.1562, allocations: 0.8312 MB / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.1565, allocations: 242.7 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1565, allocations: 3.938 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1566, allocations: 103.4 kB / 0.5943 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1569, allocations: 11.31 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1579, allocations: 0.7253 MB / 0.5951 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.1581, allocations: 0.6926 MB / 0.5957 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.1581, allocations: 0 / 0.5957 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1581, allocations: 19.31 kB / 0.5958 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1582, allocations: 3.938 kB / 0.5958 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.1693, allocations: 2.519 MB / 0.5982 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.1695, allocations: 224.9 kB / 0.5984 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.83, allocations: 0 / 0.5984 GB, free: 7.438 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: