Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001144, allocations: 192.6 kB / 16.14 MB, free: 6.66 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.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.6 MB / 0.5088 GB, free: 3.367 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.5655, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002825/0.5683, allocations: 1.502 MB / 0.7253 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.5699, allocations: 0.8626 MB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.5699, allocations: 0 / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.056e-05/0.57, allocations: 7.938 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.57, allocations: 0 / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.5706, allocations: 127.8 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.5707, allocations: 39.91 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.5707, allocations: 4 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.5708, allocations: 15.92 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.5708, allocations: 11.98 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.5709, allocations: 7.938 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.5712, allocations: 199.7 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.5712, allocations: 7.938 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.5713, allocations: 23.86 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.5715, allocations: 185.6 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5715, allocations: 0 / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5716, allocations: 0 / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5716, allocations: 0 / 0.7267 GB, free: 10.18 MB / 0.545 GB 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.0004905/0.5721, allocations: 426.8 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5721, allocations: 8.031 kB / 0.7271 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.5721, allocations: 12.84 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5723, allocations: 176.2 kB / 0.7273 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5723, allocations: 4.375 kB / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5723, allocations: 4.375 kB / 0.7273 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5725, allocations: 73.98 kB / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.5725, allocations: 0 / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5726, allocations: 0 / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5726, allocations: 3.938 kB / 0.7274 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.5727, allocations: 51.95 kB / 0.7275 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.5731, allocations: 280.7 kB / 0.7277 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5732, allocations: 62.55 kB / 0.7278 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.5733, allocations: 48.89 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.5733, allocations: 0 / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5734, allocations: 34.56 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5734, allocations: 0 / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000439/0.5738, allocations: 187.2 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5739, allocations: 85.11 kB / 0.7281 GB, free: 8.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.574, allocations: 125.8 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5741, allocations: 25.7 kB / 0.7283 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.5741, allocations: 92.05 kB / 0.7284 GB, free: 8.293 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.5741, allocations: 3.906 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.5742, allocations: 25.7 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5744, allocations: 314.9 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.5745, allocations: 59.97 kB / 0.7287 GB, free: 7.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.5746, allocations: 59.95 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.5748, allocations: 197.9 kB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5748, allocations: 0 / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002677/0.5751, allocations: 217 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.5751, allocations: 67.39 kB / 0.7293 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5752, allocations: 0 / 0.7293 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5752, allocations: 4 kB / 0.7293 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.5752, allocations: 4 kB / 0.7293 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5752, allocations: 3.938 kB / 0.7293 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.5753, allocations: 15.83 kB / 0.7293 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5753, allocations: 4 kB / 0.7293 GB, free: 7.27 MB / 0.545 GB 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 0.0001029/0.5754, allocations: 147.5 kB / 0.7294 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.5755, allocations: 3.984 kB / 0.7294 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.5755, allocations: 7.906 kB / 0.7294 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5755, allocations: 0 / 0.7294 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5755, allocations: 7.938 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.5755, allocations: 0 / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.5757, allocations: 177.6 kB / 0.7296 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5757, allocations: 4 kB / 0.7296 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.5757, allocations: 0 / 0.7296 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5757, allocations: 0 / 0.7296 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5758, allocations: 4 kB / 0.7296 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5758, allocations: 0 / 0.7296 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5758, allocations: 0 / 0.7296 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.576, allocations: 265 kB / 0.7299 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.5761, allocations: 81.02 kB / 0.73 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5761, allocations: 0 / 0.73 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.5762, allocations: 4 kB / 0.73 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5763, allocations: 11.98 kB / 0.73 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.5764, allocations: 0 / 0.73 GB, free: 6.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.5764, allocations: 95.27 kB / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5764, allocations: 0 / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003488/0.5768, allocations: 68.02 kB / 0.7301 GB, free: 6.301 MB / 0.545 GB 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.0003081/0.5771, allocations: 147.2 kB / 0.7303 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.5775, allocations: 242.7 kB / 0.7305 GB, free: 5.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5775, allocations: 4 kB / 0.7305 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5776, allocations: 99.38 kB / 0.7306 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.5778, allocations: 7.938 kB / 0.7306 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.5782, allocations: 187.3 kB / 0.7308 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5785, allocations: 0.6848 MB / 0.7315 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.5786, allocations: 0 / 0.7315 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.5786, allocations: 11.44 kB / 0.7315 GB, free: 4.836 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5786, allocations: 0 / 0.7315 GB, free: 4.836 MB / 0.545 GB Notification: Performance of Templates: time 0.004186/0.5828, allocations: 1.654 MB / 0.7331 GB, free: 3.219 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)