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.001891/0.00189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9374/0.9374, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.34 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002822/0.1473, allocations: 1.413 MB / 0.5859 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1487, allocations: 0.7851 MB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.1488, allocations: 0 / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.227e-05/0.1489, allocations: 7.938 kB / 0.5866 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.1489, allocations: 4 kB / 0.5866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.1497, allocations: 174.4 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1498, allocations: 51.91 kB / 0.5869 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.1499, allocations: 12.27 kB / 0.5869 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1499, allocations: 12 kB / 0.5869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.15, allocations: 19.92 kB / 0.5869 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.15, allocations: 4 kB / 0.5869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1503, allocations: 199.7 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.1504, allocations: 4 kB / 0.5871 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1504, allocations: 27.86 kB / 0.5871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1507, allocations: 199.5 kB / 0.5873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1508, allocations: 0 / 0.5873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1508, allocations: 0 / 0.5873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1508, allocations: 4 kB / 0.5873 GB, free: 1.562 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.0004975/0.1513, allocations: 430.7 kB / 0.5877 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1513, allocations: 8.031 kB / 0.5877 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.1514, allocations: 34.75 kB / 0.5878 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1514, allocations: 4.844 kB / 0.5878 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1515, allocations: 168.4 kB / 0.5879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1515, allocations: 384 / 0.5879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1516, allocations: 7.938 kB / 0.5879 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1517, allocations: 77.67 kB / 0.588 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1518, allocations: 0 / 0.588 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1518, allocations: 7.938 kB / 0.588 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1518, allocations: 0 / 0.588 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1519, allocations: 47.95 kB / 0.5881 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1523, allocations: 280.8 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1524, allocations: 54.56 kB / 0.5884 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.1525, allocations: 52.89 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.1525, allocations: 0 / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1525, allocations: 34.5 kB / 0.5885 GB, free: 200 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1526, allocations: 0 / 0.5885 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003824/0.1529, allocations: 183.3 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.153, allocations: 81.11 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1531, allocations: 133.7 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1531, allocations: 29.7 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.1532, allocations: 91.98 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1532, allocations: 7.906 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1533, allocations: 21.7 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.1534, allocations: 322.8 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.1535, allocations: 55.95 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.1536, allocations: 59.97 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1538, allocations: 197.8 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1538, allocations: 0 / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002826/0.1541, allocations: 213 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.1542, allocations: 63.39 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1542, allocations: 0 / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1542, allocations: 0 / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.1542, allocations: 4 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1543, allocations: 0 / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1543, allocations: 19.95 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1543, allocations: 4 kB / 0.5899 GB, free: 14.62 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 9.826e-05/0.1544, allocations: 152.8 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1545, allocations: 4 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.1545, allocations: 11.84 kB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1545, allocations: 0 / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1545, allocations: 0 / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1545, allocations: 0 / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1547, allocations: 185.6 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1547, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.1547, allocations: 4 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1547, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1548, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1548, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.1548, allocations: 3.984 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.155, allocations: 249 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.1551, allocations: 85.08 kB / 0.5906 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1551, allocations: 4 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.1552, allocations: 8 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.1553, allocations: 7.922 kB / 0.5906 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1553, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.1554, allocations: 95.27 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 3.938 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003229/0.1557, allocations: 63.92 kB / 0.5907 GB, free: 13.64 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.000669/0.1564, allocations: 0.8273 MB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.1567, allocations: 238.7 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1567, allocations: 3.938 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1568, allocations: 107.3 kB / 0.5919 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1571, allocations: 8.094 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1588, allocations: 1.76 MB / 0.5936 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1591, allocations: 0.6807 MB / 0.5943 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.304e-05/0.1591, allocations: 0 / 0.5943 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1591, allocations: 19.42 kB / 0.5943 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1591, allocations: 0 / 0.5943 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.726/0.8851, allocations: 2.785 MB / 0.597 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/9.546, allocations: 5.812 kB / 0.597 GB, free: 7.188 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)