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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001371/0.001371, allocations: 198.2 kB / 16.14 MB, free: 6.707 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6796/0.6796, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 63.78 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1237, allocations: 80.19 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002147/0.1258, allocations: 1.492 MB / 0.581 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1269, allocations: 0.8075 MB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.127, allocations: 0 / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.127, allocations: 11.86 kB / 0.5818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.1271, allocations: 0 / 0.5818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1275, allocations: 142.3 kB / 0.5819 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.1276, allocations: 31.92 kB / 0.5819 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.1276, allocations: 11.98 kB / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.1277, allocations: 4 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.1277, allocations: 19.92 kB / 0.582 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1277, allocations: 0 / 0.582 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.128, allocations: 195.7 kB / 0.5822 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.128, allocations: 11.92 kB / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.1281, allocations: 11.94 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1283, allocations: 191.8 kB / 0.5824 GB, free: 6.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1283, allocations: 8 kB / 0.5824 GB, free: 6.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1283, allocations: 0 / 0.5824 GB, free: 6.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1283, allocations: 0 / 0.5824 GB, free: 6.188 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.0003881/0.1287, allocations: 430.7 kB / 0.5828 GB, free: 5.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1288, allocations: 12.03 kB / 0.5828 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.1288, allocations: 34.75 kB / 0.5828 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1288, allocations: 8.844 kB / 0.5828 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.1289, allocations: 164.3 kB / 0.583 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1289, allocations: 4.375 kB / 0.583 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.129, allocations: 7.938 kB / 0.583 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1291, allocations: 77.66 kB / 0.5831 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.1291, allocations: 0 / 0.5831 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1291, allocations: 4 kB / 0.5831 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.1291, allocations: 0 / 0.5831 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1293, allocations: 51.95 kB / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.1296, allocations: 288.7 kB / 0.5834 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.1297, allocations: 58.55 kB / 0.5835 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.1298, allocations: 44.91 kB / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-06/0.1298, allocations: 0 / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1298, allocations: 30.56 kB / 0.5835 GB, free: 4.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.1298, allocations: 0 / 0.5835 GB, free: 4.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003301/0.1302, allocations: 195.2 kB / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1302, allocations: 81.11 kB / 0.5838 GB, free: 4.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.1303, allocations: 121.8 kB / 0.5839 GB, free: 4.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1303, allocations: 29.69 kB / 0.5839 GB, free: 4.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.1303, allocations: 99.97 kB / 0.584 GB, free: 4.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.1304, allocations: 3.906 kB / 0.584 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.1304, allocations: 21.72 kB / 0.5841 GB, free: 4.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.1305, allocations: 318.8 kB / 0.5844 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.1306, allocations: 60 kB / 0.5844 GB, free: 3.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.1307, allocations: 63.89 kB / 0.5845 GB, free: 3.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1309, allocations: 193.9 kB / 0.5847 GB, free: 3.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1309, allocations: 0 / 0.5847 GB, free: 3.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000245/0.1311, allocations: 213 kB / 0.5849 GB, free: 3.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.1312, allocations: 73.11 kB / 0.5849 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1312, allocations: 0 / 0.5849 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.1312, allocations: 0 / 0.5849 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.1313, allocations: 4 kB / 0.5849 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1313, allocations: 4 kB / 0.5849 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1313, allocations: 7.906 kB / 0.585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1313, allocations: 0 / 0.585 GB, free: 3.238 MB / 494.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 8.547e-05/0.1314, allocations: 152.1 kB / 0.5851 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1315, allocations: 4 kB / 0.5851 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.1315, allocations: 7.891 kB / 0.5851 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1315, allocations: 4 kB / 0.5851 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1315, allocations: 4 kB / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1315, allocations: 0 / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.1316, allocations: 173.6 kB / 0.5853 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1316, allocations: 0 / 0.5853 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.1317, allocations: 8.062 kB / 0.5853 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1317, allocations: 0 / 0.5853 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1317, allocations: 4 kB / 0.5853 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1317, allocations: 4 kB / 0.5853 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1317, allocations: 3.938 kB / 0.5853 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1319, allocations: 253 kB / 0.5855 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.132, allocations: 85.09 kB / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.132, allocations: 0 / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.1321, allocations: 4 kB / 0.5856 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.1322, allocations: 11.98 kB / 0.5856 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1322, allocations: 0 / 0.5856 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.1322, allocations: 95.27 kB / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1322, allocations: 0 / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1325, allocations: 59.97 kB / 0.5858 GB, free: 2.273 MB / 494.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.0005704/0.1331, allocations: 0.8311 MB / 0.5866 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.1334, allocations: 239 kB / 0.5868 GB, free: 1.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1334, allocations: 4.031 kB / 0.5868 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1335, allocations: 103.4 kB / 0.5869 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1337, allocations: 11.77 kB / 0.5869 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1352, allocations: 1.762 MB / 0.5887 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.1354, allocations: 0.6887 MB / 0.5893 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.1354, allocations: 3.938 kB / 0.5893 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1354, allocations: 19.44 kB / 0.5894 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1354, allocations: 0 / 0.5894 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/0.2919, allocations: 2.562 MB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2921, allocations: 225.4 kB / 0.5921 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.422, allocations: 0 / 0.5921 GB, free: 11.8 MB / 0.4981 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)