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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3396/0.3396, allocations: 54.42 MB / 61.9 MB, free: 13.74 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.6 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.605/1.605, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001702, allocations: 104.4 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.955e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4198, allocations: 57.64 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.5491, allocations: 86.22 MB / 0.5365 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5494, allocations: 96.16 kB / 0.5366 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009627/0.5591, allocations: 3.159 MB / 0.5397 GB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5591, allocations: 0 / 0.5397 GB, free: 11.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.5591, allocations: 0 / 0.5397 GB, free: 11.76 MB / 394.7 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.0005364/0.5597, allocations: 435.9 kB / 0.5401 GB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5597, allocations: 8.031 kB / 0.5401 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.5598, allocations: 4 kB / 0.5401 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.56, allocations: 173.7 kB / 0.5403 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.56, allocations: 0 / 0.5403 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.56, allocations: 4 kB / 0.5403 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000134/0.5602, allocations: 35.97 kB / 0.5403 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5603, allocations: 70.39 kB / 0.5404 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5603, allocations: 3.984 kB / 0.5404 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5604, allocations: 4 kB / 0.5404 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5604, allocations: 2.719 kB / 0.5404 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.5609, allocations: 252.4 kB / 0.5406 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.561, allocations: 54.5 kB / 0.5407 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.5611, allocations: 44.91 kB / 0.5407 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5611, allocations: 7.953 kB / 0.5407 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5611, allocations: 30.56 kB / 0.5408 GB, free: 10.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5611, allocations: 0 / 0.5408 GB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000312/0.5615, allocations: 109.6 kB / 0.5409 GB, free: 10.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.5615, allocations: 79.45 kB / 0.5409 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.5616, allocations: 113 kB / 0.541 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.5617, allocations: 25.7 kB / 0.5411 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.5617, allocations: 84.14 kB / 0.5412 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.5618, allocations: 15.88 kB / 0.5412 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5618, allocations: 3.938 kB / 0.5412 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5619, allocations: 318.8 kB / 0.5415 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.562, allocations: 55.91 kB / 0.5415 GB, free: 9.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.5621, allocations: 43.98 kB / 0.5416 GB, free: 9.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.5622, allocations: 51.97 kB / 0.5416 GB, free: 9.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5622, allocations: 0 / 0.5416 GB, free: 9.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002307/0.5624, allocations: 145.5 kB / 0.5418 GB, free: 9.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.5625, allocations: 67.41 kB / 0.5418 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5625, allocations: 7.953 kB / 0.5418 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5625, allocations: 0 / 0.5418 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.5626, allocations: 7.984 kB / 0.5418 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5626, allocations: 0 / 0.5418 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.5627, allocations: 8 kB / 0.5418 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.5627, allocations: 0 / 0.5418 GB, free: 9.32 MB / 394.7 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 () * 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.0001291/0.5628, allocations: 138.7 kB / 0.542 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.5629, allocations: 7.906 kB / 0.542 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.5629, allocations: 16.34 kB / 0.542 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5629, allocations: 3.953 kB / 0.542 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5629, allocations: 3.938 kB / 0.542 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5629, allocations: 0 / 0.542 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.5631, allocations: 148 kB / 0.5422 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5631, allocations: 0 / 0.5422 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.5632, allocations: 5.438 kB / 0.5422 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5632, allocations: 0 / 0.5422 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5632, allocations: 4 kB / 0.5422 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5632, allocations: 0 / 0.5422 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5632, allocations: 4 kB / 0.5422 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.5635, allocations: 208.5 kB / 0.5424 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.5635, allocations: 85.02 kB / 0.5424 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.5636, allocations: 0 / 0.5424 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.5636, allocations: 4 kB / 0.5424 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.5637, allocations: 11.98 kB / 0.5425 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5638, allocations: 4 kB / 0.5425 GB, free: 8.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.283e-05/0.5638, allocations: 106.2 kB / 0.5426 GB, free: 8.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5638, allocations: 0 / 0.5426 GB, free: 8.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.5642, allocations: 67.94 kB / 0.5426 GB, free: 8.441 MB / 394.7 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) * 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.0003474/0.5646, allocations: 163.1 kB / 0.5428 GB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.5649, allocations: 214.8 kB / 0.543 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5649, allocations: 0 / 0.543 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.565, allocations: 101.8 kB / 0.5431 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.5652, allocations: 12 kB / 0.5431 GB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.5655, allocations: 116.6 kB / 0.5432 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.5659, allocations: 0.6902 MB / 0.5439 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.5659, allocations: 0 / 0.5439 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.5659, allocations: 7.438 kB / 0.5439 GB, free: 7.055 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5659, allocations: 0 / 0.5439 GB, free: 7.055 MB / 394.7 MB Notification: Performance of Templates: time 0.004826/0.5707, allocations: 1.532 MB / 0.5454 GB, free: 5.562 MB / 394.7 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)