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.001577/0.001577, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.659/1.659, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4361/0.4361, allocations: 54.94 MB / 324.7 MB, free: 15.91 MB / 270.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.001547/0.001547, allocations: 71.88 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 59.59 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.2868/0.4406, allocations: 1.404 MB / 456.3 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.442, allocations: 0.7891 MB / 457.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.4421, allocations: 0 / 457.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.307e-05/0.4421, allocations: 2.062 kB / 457.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.4422, allocations: 6.75 kB / 457.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.4428, allocations: 167.3 kB / 457.3 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.4429, allocations: 50.25 kB / 457.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.4431, allocations: 8.297 kB / 457.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.4431, allocations: 20.08 kB / 457.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.4432, allocations: 15.55 kB / 457.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4432, allocations: 3.344 kB / 457.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.4435, allocations: 200.8 kB / 457.6 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.4435, allocations: 14.64 kB / 457.6 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.4436, allocations: 21.59 kB / 457.6 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4438, allocations: 189.8 kB / 457.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4438, allocations: 3.438 kB / 457.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4439, allocations: 0 / 457.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4439, allocations: 0 / 457.8 MB, free: 38.81 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.0004577/0.4443, allocations: 428 kB / 458.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4444, allocations: 9.344 kB / 458.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.4444, allocations: 9.719 kB / 458.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4445, allocations: 176.7 kB / 458.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4446, allocations: 384 / 458.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4446, allocations: 6.656 kB / 458.4 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4448, allocations: 74.52 kB / 458.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4448, allocations: 6.469 kB / 458.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4448, allocations: 4.906 kB / 458.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4448, allocations: 0 / 458.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4449, allocations: 51.89 kB / 458.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.4453, allocations: 277 kB / 458.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4454, allocations: 64.8 kB / 458.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.4455, allocations: 44.58 kB / 458.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.4455, allocations: 0.8125 kB / 458.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4455, allocations: 34.5 kB / 459 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4455, allocations: 3 kB / 459 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.4459, allocations: 183.1 kB / 459.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.446, allocations: 79.98 kB / 459.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.446, allocations: 126.9 kB / 459.4 MB, free: 37.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4461, allocations: 29.47 kB / 459.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.4461, allocations: 87.48 kB / 459.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.4461, allocations: 7.844 kB / 459.5 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.4462, allocations: 26.06 kB / 459.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.4462, allocations: 321.3 kB / 459.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.4463, allocations: 58.88 kB / 459.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.4464, allocations: 60.17 kB / 459.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4466, allocations: 189.7 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4466, allocations: 4.031 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002231/0.4468, allocations: 212.6 kB / 460.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.4469, allocations: 67.06 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4469, allocations: 0 / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4469, allocations: 2.812 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.447, allocations: 6.109 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.447, allocations: 1.719 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.4471, allocations: 7.062 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4471, allocations: 5.875 kB / 460.4 MB, free: 36.82 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.632e-05/0.4472, allocations: 152.4 kB / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4472, allocations: 2.719 kB / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.4472, allocations: 10.66 kB / 460.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4472, allocations: 5.703 kB / 460.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4472, allocations: 0 / 460.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4472, allocations: 0.75 kB / 460.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.4474, allocations: 174.8 kB / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4474, allocations: 0 / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.4474, allocations: 8.531 kB / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4474, allocations: 0 / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4474, allocations: 0.625 kB / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4474, allocations: 4.938 kB / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4474, allocations: 0.7031 kB / 460.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.4477, allocations: 256 kB / 461 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.4477, allocations: 81.02 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4477, allocations: 3.5 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.4478, allocations: 9 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4479, allocations: 6.812 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4479, allocations: 2.906 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.448, allocations: 95.92 kB / 461.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.448, allocations: 0.8438 kB / 461.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.4483, allocations: 61.31 kB / 461.3 MB, free: 36.13 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.0002266/0.4485, allocations: 152.3 kB / 461.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.4488, allocations: 245.8 kB / 461.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4488, allocations: 2.781 kB / 461.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.4489, allocations: 101.2 kB / 461.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4492, allocations: 7.219 kB / 461.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4495, allocations: 183.2 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4496, allocations: 0.6854 MB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.413e-05/0.4496, allocations: 0 / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.4497, allocations: 10.31 kB / 462.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4497, allocations: 3.938 kB / 462.7 MB, free: 35.03 MB / 382.1 MB Notification: Performance of Templates: time 0.004301/0.454, allocations: 1.757 MB / 464.4 MB, free: 34.95 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)