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.0008497/0.0008496, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00549/0.00549, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9728/0.9728, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 82.3 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001513/0.1484, allocations: 1.146 MB / 0.5891 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1498, allocations: 0.7921 MB / 0.5899 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.1498, allocations: 3.938 kB / 0.5899 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.738e-05/0.1499, allocations: 4 kB / 0.5899 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.1499, allocations: 4 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.1504, allocations: 122.9 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.1505, allocations: 47.84 kB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.1506, allocations: 0 / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.1507, allocations: 15.98 kB / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.1507, allocations: 23.84 kB / 0.5901 GB, free: 452 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1507, allocations: 8 kB / 0.5901 GB, free: 444 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1511, allocations: 187.7 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.1511, allocations: 4 kB / 0.5903 GB, free: 252 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1512, allocations: 49.56 kB / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1514, allocations: 183.9 kB / 0.5905 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1515, allocations: 0 / 0.5905 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1515, allocations: 3.938 kB / 0.5905 GB, free: 8 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.1515, allocations: 0 / 0.5905 GB, free: 8 kB / 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.0004774/0.152, allocations: 434.6 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.152, allocations: 12.02 kB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.152, allocations: 4.938 kB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1522, allocations: 168.3 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1522, allocations: 4.375 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1522, allocations: 8.125 kB / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1524, allocations: 73.66 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1524, allocations: 4 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1524, allocations: 0 / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1524, allocations: 4 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1525, allocations: 47.97 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.1529, allocations: 284.8 kB / 0.5915 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1531, allocations: 62.55 kB / 0.5916 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.1532, allocations: 48.92 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.1532, allocations: 0 / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1532, allocations: 38.55 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1532, allocations: 0 / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003908/0.1536, allocations: 195.2 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1537, allocations: 81.11 kB / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1538, allocations: 121.8 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1538, allocations: 33.7 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.1538, allocations: 80.14 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1539, allocations: 19.83 kB / 0.5922 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1539, allocations: 13.66 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.154, allocations: 322.8 kB / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1541, allocations: 63.98 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.1542, allocations: 55.97 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1545, allocations: 197.9 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1545, allocations: 0 / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002989/0.1548, allocations: 232.9 kB / 0.593 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.1548, allocations: 65.73 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1549, allocations: 0 / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1549, allocations: 0 / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.1549, allocations: 7.938 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1549, allocations: 0 / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.155, allocations: 11.98 kB / 0.5931 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.155, allocations: 0 / 0.5931 GB, free: 13.08 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.0001035/0.1551, allocations: 155.5 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1552, allocations: 7.906 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.1552, allocations: 7.906 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1552, allocations: 4 kB / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1552, allocations: 0 / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1552, allocations: 0 / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1554, allocations: 173.6 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1554, allocations: 0 / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1554, allocations: 4 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1555, allocations: 0 / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1555, allocations: 11.98 kB / 0.5934 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1555, allocations: 3.984 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1555, allocations: 0 / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1558, allocations: 249.1 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.1558, allocations: 85.02 kB / 0.5938 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1558, allocations: 4 kB / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.1559, allocations: 16.02 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.156, allocations: 0 / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.156, allocations: 4 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.1561, allocations: 102.9 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1561, allocations: 0 / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003176/0.1564, allocations: 59.98 kB / 0.5939 GB, free: 12.1 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.0002762/0.1567, allocations: 147.2 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1571, allocations: 250.7 kB / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1571, allocations: 0 / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1572, allocations: 107.4 kB / 0.5944 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1574, allocations: 3.094 kB / 0.5944 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1578, allocations: 188.7 kB / 0.5946 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.158, allocations: 0.6887 MB / 0.5953 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.1581, allocations: 4 kB / 0.5953 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.1581, allocations: 7.438 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1581, allocations: 0 / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.004067/0.1622, allocations: 1.643 MB / 0.5969 GB, free: 9.008 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)