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: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 99.36 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.001258/0.001258, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9524/0.9524, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.11 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002472/0.1465, allocations: 1.488 MB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1477, allocations: 0.7684 MB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.1478, allocations: 4 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.1478, allocations: 3.984 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.1479, allocations: 4 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.1485, allocations: 154.8 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.1486, allocations: 55.84 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.1487, allocations: 8 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.1487, allocations: 15.98 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.1488, allocations: 15.92 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1488, allocations: 7.984 kB / 0.5864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1491, allocations: 199.7 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.1491, allocations: 7.984 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.1492, allocations: 19.88 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1494, allocations: 191.9 kB / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1494, allocations: 4 kB / 0.5868 GB, free: 1.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1494, allocations: 3.938 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1495, allocations: 3.938 kB / 0.5868 GB, free: 1.941 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.0004378/0.1499, allocations: 430.7 kB / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1499, allocations: 12.03 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.15, allocations: 0.9375 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1501, allocations: 168.3 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1501, allocations: 4.375 kB / 0.5874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1501, allocations: 12.11 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1503, allocations: 73.66 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.1503, allocations: 0 / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1503, allocations: 8 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1503, allocations: 0 / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1505, allocations: 43.97 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1508, allocations: 288.8 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1509, allocations: 54.55 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.151, allocations: 48.91 kB / 0.5879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1511, allocations: 0 / 0.5879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1511, allocations: 30.56 kB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1511, allocations: 3.938 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.1515, allocations: 191.2 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1515, allocations: 85.09 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.1516, allocations: 121.8 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1516, allocations: 29.7 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.1517, allocations: 88.12 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1517, allocations: 11.81 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1517, allocations: 21.66 kB / 0.5884 GB, free: 20 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1519, allocations: 322.8 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.152, allocations: 59.94 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/0.1521, allocations: 63.95 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1523, allocations: 193.9 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1523, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.1526, allocations: 217 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.1526, allocations: 59.41 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1527, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1527, allocations: 3.984 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.1527, allocations: 8 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1527, allocations: 0 / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1528, allocations: 8 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1528, allocations: 0 / 0.5893 GB, free: 15.04 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.0001003/0.1529, allocations: 151.5 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1529, allocations: 7.906 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.153, allocations: 7.906 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.153, allocations: 0 / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.153, allocations: 7.984 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.153, allocations: 4 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1532, allocations: 165.6 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1532, allocations: 3.984 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1532, allocations: 4 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1532, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1532, allocations: 4 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1532, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1532, allocations: 3.938 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1535, allocations: 253.3 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.1535, allocations: 77.11 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1536, allocations: 12.05 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1537, allocations: 7.984 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.1537, allocations: 4 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1538, allocations: 7.984 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.1538, allocations: 101.2 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1538, allocations: 0 / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000327/0.1542, allocations: 67.97 kB / 0.5902 GB, free: 14.06 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.0002397/0.1544, allocations: 155.1 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1547, allocations: 242.7 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1547, allocations: 0 / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1549, allocations: 103.4 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.1551, allocations: 0 / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.1554, allocations: 201.4 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1557, allocations: 0.6846 MB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.1557, allocations: 3.984 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.1557, allocations: 11.44 kB / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1557, allocations: 0 / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.003755/0.1595, allocations: 1.68 MB / 0.5932 GB, free: 10.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)