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.001093/0.001093, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.001387/0.001387, allocations: 172.7 kB / 16.27 MB, free: 6.664 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.641/1.641, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.445/0.445, allocations: 55.02 MB / 325.8 MB, free: 0.6289 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.0005781/0.0005782, allocations: 20 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4063, allocations: 60.71 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001585/0.408, allocations: 1.13 MB / 459.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4093, allocations: 0.8137 MB / 459.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.4093, allocations: 0 / 459.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.4094, allocations: 3.938 kB / 459.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.4095, allocations: 4.531 kB / 459.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.41, allocations: 124.3 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.4101, allocations: 42.59 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.4102, allocations: 3.531 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.4102, allocations: 15.23 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.4103, allocations: 19.89 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4103, allocations: 3.125 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.4106, allocations: 184.8 kB / 460.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.4107, allocations: 14.55 kB / 460.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.4107, allocations: 43.31 kB / 460.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.411, allocations: 190.7 kB / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.411, allocations: 0 / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.411, allocations: 1.125 kB / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.411, allocations: 1.125 kB / 460.6 MB, free: 38.17 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.0004544/0.4115, allocations: 423.7 kB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4115, allocations: 13.16 kB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.4116, allocations: 1.5 kB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4117, allocations: 179 kB / 461.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4117, allocations: 2.25 kB / 461.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.4117, allocations: 7.156 kB / 461.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4119, allocations: 80.58 kB / 461.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.412, allocations: 0 / 461.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.412, allocations: 3.938 kB / 461.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.412, allocations: 0 / 461.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4121, allocations: 55.34 kB / 461.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.4125, allocations: 279.1 kB / 461.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4126, allocations: 66.91 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.4127, allocations: 44.02 kB / 461.7 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.4127, allocations: 3.031 kB / 461.7 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4127, allocations: 34.47 kB / 461.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4127, allocations: 0.9688 kB / 461.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000372/0.4131, allocations: 195.2 kB / 461.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.4132, allocations: 80.55 kB / 462 MB, free: 36.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.4132, allocations: 126.2 kB / 462.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.4133, allocations: 25.7 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.4133, allocations: 89.41 kB / 462.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.4133, allocations: 14.11 kB / 462.3 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4134, allocations: 15.78 kB / 462.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.4135, allocations: 321.9 kB / 462.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.4135, allocations: 59.52 kB / 462.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.4136, allocations: 65.61 kB / 462.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.4139, allocations: 195.1 kB / 462.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4139, allocations: 0.5625 kB / 462.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.4141, allocations: 221 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.4142, allocations: 63.78 kB / 463.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4142, allocations: 5.188 kB / 463.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4142, allocations: 0 / 463.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.4143, allocations: 5.719 kB / 463.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4143, allocations: 0 / 463.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.4144, allocations: 15.38 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.4144, allocations: 3.5 kB / 463.2 MB, free: 36.17 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 9.809e-05/0.4145, allocations: 147.4 kB / 463.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.4145, allocations: 7.469 kB / 463.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.4146, allocations: 10.34 kB / 463.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4146, allocations: 4.75 kB / 463.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4146, allocations: 2.359 kB / 463.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4146, allocations: 3.562 kB / 463.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4147, allocations: 172.5 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4147, allocations: 2.875 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.4148, allocations: 3.406 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4148, allocations: 1.594 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4148, allocations: 2.656 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4148, allocations: 0 / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4148, allocations: 3.234 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.4151, allocations: 260.1 kB / 463.8 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.4151, allocations: 80.89 kB / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4151, allocations: 4.297 kB / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.4152, allocations: 13.81 kB / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4153, allocations: 10.94 kB / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4153, allocations: 0 / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.4154, allocations: 98.58 kB / 464 MB, free: 35.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4154, allocations: 0 / 464 MB, free: 35.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.4157, allocations: 58.27 kB / 464.1 MB, free: 35.47 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.0002461/0.416, allocations: 148.8 kB / 464.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.4163, allocations: 246.8 kB / 464.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4163, allocations: 0 / 464.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4164, allocations: 114 kB / 464.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4166, allocations: 0 / 464.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.417, allocations: 194.2 kB / 464.8 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4172, allocations: 0.6868 MB / 465.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.4172, allocations: 2.562 kB / 465.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.4172, allocations: 7.438 kB / 465.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4172, allocations: 0 / 465.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.004403/0.4216, allocations: 1.637 MB / 467.1 MB, free: 34.29 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: