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.001204/0.001204, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001375, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.599/1.599, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4006/0.4006, allocations: 54.93 MB / 324.4 MB, free: 80 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.001522/0.001522, allocations: 63.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.178, allocations: 59.59 MB / 454.5 MB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.3217/0.4998, allocations: 1.46 MB / 456 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.5011, allocations: 0.7863 MB / 456.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.5013, allocations: 0 / 456.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.497e-05/0.5014, allocations: 7.297 kB / 456.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.5015, allocations: 9.234 kB / 456.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.5021, allocations: 156.7 kB / 456.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.5022, allocations: 49.77 kB / 457 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.5023, allocations: 2.656 kB / 457 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.5024, allocations: 16.23 kB / 457 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.5024, allocations: 24.98 kB / 457 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.5025, allocations: 2.938 kB / 457 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.5028, allocations: 197.8 kB / 457.2 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.5028, allocations: 13.19 kB / 457.2 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.5029, allocations: 21.03 kB / 457.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.5031, allocations: 190.7 kB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5031, allocations: 0 / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5031, allocations: 3.422 kB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.5031, allocations: 4.156 kB / 457.4 MB, free: 38.57 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.0004596/0.5036, allocations: 422 kB / 457.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5037, allocations: 10.38 kB / 457.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.5037, allocations: 8.344 kB / 457.9 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5038, allocations: 175 kB / 458.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.5038, allocations: 3.25 kB / 458.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.5039, allocations: 9.406 kB / 458.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.504, allocations: 72.58 kB / 458.1 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5041, allocations: 8.281 kB / 458.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5041, allocations: 0 / 458.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5041, allocations: 0 / 458.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5042, allocations: 49.36 kB / 458.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.5046, allocations: 288.6 kB / 458.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.5047, allocations: 60.14 kB / 458.5 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.5048, allocations: 45.36 kB / 458.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5048, allocations: 0.6875 kB / 458.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.5048, allocations: 34.88 kB / 458.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5048, allocations: 3.406 kB / 458.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003471/0.5052, allocations: 179.8 kB / 458.8 MB, free: 37.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.5052, allocations: 83.77 kB / 458.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.5053, allocations: 129.5 kB / 459 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5053, allocations: 28.45 kB / 459 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.5054, allocations: 86.89 kB / 459.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.5054, allocations: 14.34 kB / 459.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.5054, allocations: 21.66 kB / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.5055, allocations: 321.3 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-05/0.5056, allocations: 57.77 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.5057, allocations: 61.45 kB / 459.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5059, allocations: 191.9 kB / 459.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5059, allocations: 0 / 459.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002172/0.5061, allocations: 224.3 kB / 460 MB, free: 36.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5062, allocations: 60.28 kB / 460 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5062, allocations: 2.156 kB / 460 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5062, allocations: 1.25 kB / 460 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.5063, allocations: 7.234 kB / 460.1 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5063, allocations: 0.8438 kB / 460.1 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.5063, allocations: 7.531 kB / 460.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5063, allocations: 6.219 kB / 460.1 MB, free: 36.57 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 8.784e-05/0.5064, allocations: 151.4 kB / 460.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.5065, allocations: 2.906 kB / 460.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.5065, allocations: 14.97 kB / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5065, allocations: 1.25 kB / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5065, allocations: 2.906 kB / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5065, allocations: 0 / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.5066, allocations: 169.6 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5067, allocations: 3.422 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.5067, allocations: 4.406 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5067, allocations: 2.219 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5067, allocations: 6.938 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5067, allocations: 0.5625 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5067, allocations: 0 / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.507, allocations: 251.8 kB / 460.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.507, allocations: 81.86 kB / 460.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.507, allocations: 8.875 kB / 460.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.5071, allocations: 8.656 kB / 460.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.5072, allocations: 7.375 kB / 460.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.5072, allocations: 0.8438 kB / 460.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.5073, allocations: 102.2 kB / 460.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5073, allocations: 0 / 460.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000331/0.5076, allocations: 57.64 kB / 460.9 MB, free: 35.88 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.0002366/0.5078, allocations: 151.6 kB / 461.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.5081, allocations: 246 kB / 461.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5082, allocations: 0 / 461.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.5083, allocations: 105.3 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5085, allocations: 6.875 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.5088, allocations: 181.8 kB / 461.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.509, allocations: 0.6868 MB / 462.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.544e-05/0.509, allocations: 0 / 462.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.509, allocations: 15.12 kB / 462.3 MB, free: 34.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.509, allocations: 0 / 462.3 MB, free: 34.78 MB / 382.1 MB Notification: Performance of Templates: time 0.004348/0.5134, allocations: 1.689 MB / 464 MB, free: 34.7 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)