Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008082/0.008083, allocations: 101 kB / 15.73 MB, free: 6.035 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.001397/0.001397, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4032/0.4032, allocations: 54.95 MB / 324.8 MB, free: 0 / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 66.02 kB / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1499, allocations: 59.59 MB / 0.5038 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002548/0.1525, allocations: 1.393 MB / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1538, allocations: 0.7912 MB / 0.5059 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.1538, allocations: 1.375 kB / 0.5059 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.1539, allocations: 3.984 kB / 0.5059 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.1539, allocations: 9.312 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.1546, allocations: 173.5 kB / 0.5061 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1547, allocations: 48.53 kB / 0.5062 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.1548, allocations: 12.12 kB / 0.5062 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.1548, allocations: 18.8 kB / 0.5062 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.1549, allocations: 17.42 kB / 0.5062 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1549, allocations: 2.75 kB / 0.5062 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.1552, allocations: 208.8 kB / 0.5064 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1553, allocations: 7.438 kB / 0.5064 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1553, allocations: 17.22 kB / 0.5064 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1556, allocations: 189.2 kB / 0.5066 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1556, allocations: 0 / 0.5066 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1556, allocations: 5.312 kB / 0.5066 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1557, allocations: 7.984 kB / 0.5066 GB, free: 7.574 MB / 382.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.0004908/0.1561, allocations: 426 kB / 0.507 GB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1562, allocations: 8.562 kB / 0.507 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1563, allocations: 4 kB / 0.507 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1564, allocations: 175.1 kB / 0.5072 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1564, allocations: 2 kB / 0.5072 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1564, allocations: 6.688 kB / 0.5072 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1566, allocations: 81.52 kB / 0.5073 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1566, allocations: 5.094 kB / 0.5073 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1567, allocations: 1.031 kB / 0.5073 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1567, allocations: 0 / 0.5073 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1568, allocations: 44.81 kB / 0.5073 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1572, allocations: 280 kB / 0.5076 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1573, allocations: 56.39 kB / 0.5077 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.1574, allocations: 50.84 kB / 0.5077 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1574, allocations: 0 / 0.5077 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1574, allocations: 35.94 kB / 0.5077 GB, free: 6.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1574, allocations: 0 / 0.5077 GB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003944/0.1578, allocations: 189.7 kB / 0.5079 GB, free: 6.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1579, allocations: 78.52 kB / 0.508 GB, free: 6.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.1579, allocations: 118.5 kB / 0.5081 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.158, allocations: 31.05 kB / 0.5081 GB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.158, allocations: 98.64 kB / 0.5082 GB, free: 5.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.158, allocations: 9.156 kB / 0.5082 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1581, allocations: 25.25 kB / 0.5083 GB, free: 5.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.1581, allocations: 324.9 kB / 0.5086 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/0.1582, allocations: 56.41 kB / 0.5086 GB, free: 5.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.1583, allocations: 60.17 kB / 0.5087 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1585, allocations: 193.8 kB / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1585, allocations: 0 / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000221/0.1588, allocations: 224.1 kB / 0.5091 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.1588, allocations: 59.41 kB / 0.5091 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1588, allocations: 3.984 kB / 0.5092 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1588, allocations: 64 / 0.5092 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.1589, allocations: 8 kB / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1589, allocations: 0 / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.159, allocations: 4 kB / 0.5092 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.159, allocations: 15.98 kB / 0.5092 GB, free: 5.09 MB / 382.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 7.213e-05/0.1591, allocations: 147.5 kB / 0.5093 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1591, allocations: 7.906 kB / 0.5093 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.1591, allocations: 7.906 kB / 0.5093 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1591, allocations: 3.984 kB / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1591, allocations: 0 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1591, allocations: 0 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1592, allocations: 173.6 kB / 0.5095 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1593, allocations: 0 / 0.5095 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.1593, allocations: 8 kB / 0.5095 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1593, allocations: 0 / 0.5095 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1593, allocations: 4 kB / 0.5095 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1593, allocations: 0 / 0.5095 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1593, allocations: 0 / 0.5095 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1595, allocations: 253 kB / 0.5098 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.1596, allocations: 81.11 kB / 0.5098 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1596, allocations: 8.016 kB / 0.5098 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.1596, allocations: 8 kB / 0.5098 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1598, allocations: 8.219 kB / 0.5099 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1598, allocations: 0 / 0.5099 GB, free: 4.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.1598, allocations: 103.2 kB / 0.51 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1598, allocations: 0 / 0.51 GB, free: 4.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1601, allocations: 56 kB / 0.51 GB, free: 4.125 MB / 382.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.0002301/0.1604, allocations: 155.1 kB / 0.5102 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1607, allocations: 250.7 kB / 0.5104 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1607, allocations: 0 / 0.5104 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.1608, allocations: 99.38 kB / 0.5105 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.161, allocations: 7.938 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.1613, allocations: 185.3 kB / 0.5107 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1614, allocations: 0.6846 MB / 0.5113 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.1615, allocations: 8.047 kB / 0.5114 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.1615, allocations: 7.438 kB / 0.5114 GB, free: 2.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1615, allocations: 0 / 0.5114 GB, free: 2.645 MB / 382.1 MB Notification: Performance of Templates: time 0.003722/0.1652, allocations: 1.757 MB / 0.5131 GB, free: 0.9062 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)