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.001313/0.001313, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001583/0.001583, allocations: 177.3 kB / 15.94 MB, free: 228 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.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.389/0.389, allocations: 54.98 MB / 325.3 MB, free: 0.7461 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.0005524/0.0005525, allocations: 20 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3953, allocations: 60.72 MB / 457.3 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00139/0.3968, allocations: 1.122 MB / 458.4 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.3978, allocations: 0.7418 MB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.3978, allocations: 0.5625 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.026e-05/0.3979, allocations: 5.828 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.3979, allocations: 1.969 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.3984, allocations: 122.5 kB / 459.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.3985, allocations: 23.12 kB / 459.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.3986, allocations: 4.156 kB / 459.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.3986, allocations: 15.61 kB / 459.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.3987, allocations: 19.86 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3987, allocations: 6.281 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.399, allocations: 167.4 kB / 459.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.399, allocations: 5.969 kB / 459.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.3991, allocations: 31.52 kB / 459.6 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.3992, allocations: 135.3 kB / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3992, allocations: 0 / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3993, allocations: 0 / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3993, allocations: 0 / 459.7 MB, free: 37.95 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.0004574/0.3997, allocations: 420.5 kB / 460.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3998, allocations: 12.78 kB / 460.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3998, allocations: 3 kB / 460.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4, allocations: 177.8 kB / 460.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4, allocations: 5.844 kB / 460.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4001, allocations: 4.219 kB / 460.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.4003, allocations: 78.17 kB / 460.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4003, allocations: 1.219 kB / 460.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4003, allocations: 1.062 kB / 460.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4004, allocations: 0 / 460.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4005, allocations: 54.36 kB / 460.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.401, allocations: 282.6 kB / 460.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4011, allocations: 61.19 kB / 460.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4011, allocations: 0 / 460.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4012, allocations: 37.23 kB / 460.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4012, allocations: 0.8125 kB / 460.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004247/0.4016, allocations: 272.3 kB / 461.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4016, allocations: 83.89 kB / 461.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.4017, allocations: 123.5 kB / 461.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.4018, allocations: 30.14 kB / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.4018, allocations: 85.27 kB / 461.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.4018, allocations: 14.39 kB / 461.4 MB, free: 36.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.4019, allocations: 0 / 461.4 MB, free: 36.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.4019, allocations: 315.2 kB / 461.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.402, allocations: 59.58 kB / 461.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.4021, allocations: 61.23 kB / 461.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.4023, allocations: 116.3 kB / 462 MB, free: 36.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4023, allocations: 0 / 462 MB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002479/0.4025, allocations: 224.6 kB / 462.2 MB, free: 36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.4026, allocations: 62.05 kB / 462.2 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4026, allocations: 6.641 kB / 462.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4026, allocations: 3.938 kB / 462.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.4027, allocations: 4.125 kB / 462.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4027, allocations: 1.484 kB / 462.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.4028, allocations: 18.27 kB / 462.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4028, allocations: 0 / 462.3 MB, free: 35.93 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.0001004/0.4029, allocations: 147.5 kB / 462.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4029, allocations: 7.656 kB / 462.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.403, allocations: 10.69 kB / 462.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.403, allocations: 6.047 kB / 462.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.403, allocations: 0.875 kB / 462.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.403, allocations: 3.234 kB / 462.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.4031, allocations: 170 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4031, allocations: 0 / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.4032, allocations: 4.656 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4032, allocations: 3.719 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4032, allocations: 4.547 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4032, allocations: 0.8125 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4032, allocations: 7.016 kB / 462.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.4035, allocations: 253.1 kB / 462.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.4035, allocations: 83.7 kB / 463 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.4035, allocations: 0 / 463 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.4036, allocations: 10.64 kB / 463 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4038, allocations: 17.86 kB / 463 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4038, allocations: 2.656 kB / 463 MB, free: 35.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.4038, allocations: 97.7 kB / 463.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4038, allocations: 0 / 463.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.4041, allocations: 58.61 kB / 463.1 MB, free: 35.23 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.0002328/0.4044, allocations: 144.9 kB / 463.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4047, allocations: 246.2 kB / 463.5 MB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4047, allocations: 0 / 463.5 MB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/0.4048, allocations: 110.1 kB / 463.6 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.4049, allocations: 4.172 kB / 463.6 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.4052, allocations: 185.2 kB / 463.8 MB, free: 34.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.4054, allocations: 0.6935 MB / 464.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.395e-05/0.4054, allocations: 0 / 464.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.4054, allocations: 9.906 kB / 464.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4054, allocations: 0 / 464.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of Templates: time 0.003355/0.4088, allocations: 1.616 MB / 466.1 MB, free: 34.06 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: