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.0008725/0.0008726, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008581/0.0008584, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4312/0.4312, allocations: 55.01 MB / 325.4 MB, free: 0.6953 MB / 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.000586/0.0005863, allocations: 12 kB / 396.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5265, allocations: 60.72 MB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00196/0.5285, allocations: 1.12 MB / 458.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.5299, allocations: 0.7435 MB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.53, allocations: 3 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.25e-05/0.5301, allocations: 0.9375 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.5302, allocations: 0 / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.5309, allocations: 136.3 kB / 459.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.531, allocations: 33.36 kB / 459.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5311, allocations: 3.031 kB / 459.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.5312, allocations: 18.42 kB / 459.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.5313, allocations: 23.66 kB / 459.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.5313, allocations: 6.562 kB / 459.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.5316, allocations: 170.6 kB / 459.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.5317, allocations: 9.078 kB / 459.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.5317, allocations: 32.48 kB / 459.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.5319, allocations: 129.9 kB / 459.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.532, allocations: 0 / 459.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.532, allocations: 4.562 kB / 459.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.532, allocations: 0 / 459.8 MB, free: 38.23 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.0005736/0.5326, allocations: 429.5 kB / 460.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5326, allocations: 9.188 kB / 460.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.5327, allocations: 2.906 kB / 460.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5328, allocations: 182.6 kB / 460.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5329, allocations: 0 / 460.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.5329, allocations: 2.969 kB / 460.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5331, allocations: 76.08 kB / 460.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5331, allocations: 0.9688 kB / 460.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5331, allocations: 0 / 460.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5331, allocations: 1.5 kB / 460.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.5333, allocations: 61.2 kB / 460.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.5338, allocations: 280.4 kB / 460.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.5339, allocations: 58.16 kB / 460.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.534, allocations: 46.52 kB / 460.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.534, allocations: 0.875 kB / 460.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.5341, allocations: 41.8 kB / 461 MB, free: 37.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5341, allocations: 1.312 kB / 461 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004578/0.5345, allocations: 197.7 kB / 461.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.5346, allocations: 77.11 kB / 461.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.5347, allocations: 125.7 kB / 461.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.5348, allocations: 26.67 kB / 461.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5348, allocations: 85.98 kB / 461.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.5349, allocations: 11.16 kB / 461.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.5349, allocations: 2.781 kB / 461.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.535, allocations: 315.5 kB / 461.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.5351, allocations: 59.44 kB / 461.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.5352, allocations: 60.8 kB / 461.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5353, allocations: 115 kB / 462 MB, free: 36.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5353, allocations: 4 kB / 462 MB, free: 36.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002742/0.5356, allocations: 226.4 kB / 462.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.5357, allocations: 65.42 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5357, allocations: 3.328 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5357, allocations: 0.875 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.5358, allocations: 3.562 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5358, allocations: 4.188 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.5359, allocations: 14.38 kB / 462.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5359, allocations: 2.844 kB / 462.3 MB, free: 36.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.536, allocations: 147.9 kB / 462.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.536, allocations: 7.281 kB / 462.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.5361, allocations: 11.64 kB / 462.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5361, allocations: 2.031 kB / 462.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.5361, allocations: 0 / 462.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5361, allocations: 3.938 kB / 462.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.5363, allocations: 171.2 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5363, allocations: 0.6562 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.5364, allocations: 7.141 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.5364, allocations: 4.672 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5364, allocations: 0.6875 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5364, allocations: 5.234 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5364, allocations: 0 / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.5368, allocations: 253.3 kB / 462.9 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.5368, allocations: 82.14 kB / 463 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5369, allocations: 4.906 kB / 463 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.5369, allocations: 13.09 kB / 463 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5371, allocations: 15.95 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5371, allocations: 3.5 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.5372, allocations: 95.7 kB / 463.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5372, allocations: 0 / 463.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000364/0.5376, allocations: 57.44 kB / 463.2 MB, free: 35.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/0.5379, allocations: 154.1 kB / 463.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.5382, allocations: 242.1 kB / 463.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5382, allocations: 0 / 463.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5383, allocations: 111.9 kB / 463.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.5386, allocations: 4.109 kB / 463.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.539, allocations: 182.9 kB / 463.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.5392, allocations: 0.6826 MB / 464.6 MB, free: 34.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.5392, allocations: 4.062 kB / 464.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.5392, allocations: 10.19 kB / 464.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5392, allocations: 0 / 464.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of Templates: time 0.004497/0.5437, allocations: 1.621 MB / 466.2 MB, free: 34.41 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: