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.001019/0.001019, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001201/0.001201, allocations: 198.2 kB / 16.14 MB, free: 6.715 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.701/1.701, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.93 MB / 324.3 MB, free: 164 kB / 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.001409/0.00141, allocations: 71.89 kB / 394.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1691, allocations: 59.59 MB / 454.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.3111/0.4803, allocations: 1.466 MB / 455.8 MB, free: 39.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.4816, allocations: 0.8152 MB / 456.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.4816, allocations: 2.938 kB / 456.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.256e-05/0.4818, allocations: 3.438 kB / 456.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.4818, allocations: 0.9688 kB / 456.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.4823, allocations: 135.1 kB / 456.7 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.4824, allocations: 36.88 kB / 456.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.4825, allocations: 7.688 kB / 456.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.4825, allocations: 18.17 kB / 456.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.4826, allocations: 17.19 kB / 456.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.4826, allocations: 0 / 456.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.4829, allocations: 194.4 kB / 457 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.4829, allocations: 7.406 kB / 457 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.483, allocations: 21.42 kB / 457 MB, free: 39.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.4832, allocations: 187.8 kB / 457.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4832, allocations: 1.312 kB / 457.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4832, allocations: 0.8438 kB / 457.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.4832, allocations: 0 / 457.2 MB, free: 39.45 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.0004576/0.4837, allocations: 428.4 kB / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4838, allocations: 13.91 kB / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.4838, allocations: 8.25 kB / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/0.4839, allocations: 168.3 kB / 457.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4839, allocations: 6.344 kB / 457.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.4839, allocations: 10.12 kB / 457.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4841, allocations: 74.48 kB / 457.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4841, allocations: 0 / 457.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4842, allocations: 1.156 kB / 457.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4842, allocations: 3.938 kB / 457.9 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4843, allocations: 52.78 kB / 458 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.4847, allocations: 283.6 kB / 458.2 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4848, allocations: 54.78 kB / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.4849, allocations: 49.48 kB / 458.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.4849, allocations: 2.531 kB / 458.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.4849, allocations: 30.56 kB / 458.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4849, allocations: 1.281 kB / 458.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003423/0.4853, allocations: 183.7 kB / 458.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4853, allocations: 81.55 kB / 458.6 MB, free: 38.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.4854, allocations: 127.1 kB / 458.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.4854, allocations: 28.2 kB / 458.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.4855, allocations: 94.06 kB / 458.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.4855, allocations: 3.906 kB / 458.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.4855, allocations: 23.56 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.4856, allocations: 325.6 kB / 459.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.4857, allocations: 55 kB / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.4858, allocations: 64.92 kB / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4859, allocations: 189.2 kB / 459.5 MB, free: 37.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.486, allocations: 0 / 459.5 MB, free: 37.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/0.4862, allocations: 218.5 kB / 459.7 MB, free: 37.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.4862, allocations: 59.06 kB / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4863, allocations: 0 / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4863, allocations: 4.094 kB / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.4863, allocations: 8.266 kB / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4864, allocations: 1.656 kB / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.4864, allocations: 17.69 kB / 459.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4864, allocations: 3.234 kB / 459.8 MB, free: 37.46 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.554e-05/0.4865, allocations: 150.7 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.4865, allocations: 6.344 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.4866, allocations: 7.094 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4866, allocations: 5.812 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4866, allocations: 3.938 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4866, allocations: 0 / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.4867, allocations: 172.1 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4867, allocations: 0 / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.4868, allocations: 9 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4868, allocations: 0 / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4868, allocations: 3.281 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4868, allocations: 0 / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4868, allocations: 1.281 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.487, allocations: 253.1 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.4871, allocations: 84.8 kB / 460.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4871, allocations: 2.969 kB / 460.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.4872, allocations: 10.11 kB / 460.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.4873, allocations: 12.47 kB / 460.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4874, allocations: 0.9062 kB / 460.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.4874, allocations: 94.98 kB / 460.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4874, allocations: 1.344 kB / 460.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.4877, allocations: 61.59 kB / 460.7 MB, free: 36.77 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.0002423/0.488, allocations: 146.9 kB / 460.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4883, allocations: 243.1 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4883, allocations: 3.125 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.4884, allocations: 105.4 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.4886, allocations: 3.516 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.489, allocations: 187.5 kB / 461.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4891, allocations: 0.6886 MB / 462 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.4892, allocations: 0 / 462 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.4892, allocations: 7.438 kB / 462.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4892, allocations: 0 / 462.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of Templates: time 0.00408/0.4933, allocations: 1.658 MB / 463.7 MB, free: 35.59 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)