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.0008216/0.0008215, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000842/0.0008421, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.561/1.561, allocations: 252 MB / 0.5102 GB, free: 4.793 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.0005554/0.0005556, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4884, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001537/0.4899, allocations: 1.149 MB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4912, allocations: 0.7851 MB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.4913, allocations: 3.938 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/0.4913, allocations: 0 / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.4914, allocations: 7.984 kB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.4919, allocations: 119.7 kB / 0.7301 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.834e-05/0.492, allocations: 35.97 kB / 0.7302 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.492, allocations: 4 kB / 0.7302 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.4921, allocations: 19.92 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.4922, allocations: 23.91 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.4922, allocations: 3.938 kB / 0.7302 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.4925, allocations: 179.7 kB / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.4925, allocations: 4 kB / 0.7304 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.4925, allocations: 25.7 kB / 0.7304 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4927, allocations: 141.7 kB / 0.7306 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4928, allocations: 0 / 0.7306 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.634e-06/0.4928, allocations: 0 / 0.7306 GB, free: 8.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.4928, allocations: 4 kB / 0.7306 GB, free: 8.895 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.0004691/0.4932, allocations: 426.6 kB / 0.731 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4933, allocations: 12.03 kB / 0.731 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4933, allocations: 3.953 kB / 0.731 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4935, allocations: 178.8 kB / 0.7312 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4935, allocations: 0 / 0.7312 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.4935, allocations: 4 kB / 0.7312 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4937, allocations: 81.67 kB / 0.7312 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4937, allocations: 0 / 0.7312 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4937, allocations: 3.938 kB / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4937, allocations: 0 / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4939, allocations: 59.84 kB / 0.7313 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.4943, allocations: 273 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.4944, allocations: 62.53 kB / 0.7316 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.4945, allocations: 48.91 kB / 0.7317 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.4945, allocations: 0 / 0.7317 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.4946, allocations: 34.56 kB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4946, allocations: 0 / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.4949, allocations: 207.1 kB / 0.7319 GB, free: 7.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.495, allocations: 77.11 kB / 0.732 GB, free: 7.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4951, allocations: 121.8 kB / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4951, allocations: 29.7 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.4952, allocations: 84.14 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.4952, allocations: 7.906 kB / 0.7322 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.4952, allocations: 4.031 kB / 0.7322 GB, free: 6.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4953, allocations: 318.8 kB / 0.7325 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4955, allocations: 59.97 kB / 0.7326 GB, free: 6.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.4955, allocations: 55.97 kB / 0.7326 GB, free: 6.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4957, allocations: 115.4 kB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4957, allocations: 4 kB / 0.7327 GB, free: 6.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002809/0.496, allocations: 224.9 kB / 0.733 GB, free: 6.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.496, allocations: 63.39 kB / 0.733 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4961, allocations: 4 kB / 0.733 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4961, allocations: 0 / 0.733 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.4961, allocations: 12.02 kB / 0.733 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4961, allocations: 3.938 kB / 0.733 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.4962, allocations: 11.94 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4962, allocations: 8 kB / 0.7331 GB, free: 6.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.4965, allocations: 151.5 kB / 0.7332 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.4966, allocations: 7.906 kB / 0.7332 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.4967, allocations: 3.906 kB / 0.7332 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.4967, allocations: 7.922 kB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.4967, allocations: 3.953 kB / 0.7332 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4967, allocations: 0 / 0.7332 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.497, allocations: 173.6 kB / 0.7334 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.497, allocations: 0 / 0.7334 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.497, allocations: 8 kB / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.497, allocations: 0 / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4971, allocations: 0 / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4971, allocations: 0 / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4971, allocations: 4 kB / 0.7334 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.4974, allocations: 253.1 kB / 0.7336 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.4975, allocations: 85.05 kB / 0.7337 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4975, allocations: 7.984 kB / 0.7337 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.4976, allocations: 4 kB / 0.7337 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.4977, allocations: 7.984 kB / 0.7337 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.4977, allocations: 0 / 0.7337 GB, free: 5.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.4978, allocations: 99.27 kB / 0.7338 GB, free: 5.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4978, allocations: 0 / 0.7338 GB, free: 5.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003777/0.4982, allocations: 55.95 kB / 0.7339 GB, free: 5.105 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 (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.0002887/0.4985, allocations: 160.9 kB / 0.734 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.4988, allocations: 238.7 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4989, allocations: 0 / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.499, allocations: 103.4 kB / 0.7344 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4992, allocations: 8.75 kB / 0.7344 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.4996, allocations: 188.7 kB / 0.7346 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4998, allocations: 0.6848 MB / 0.7352 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.4999, allocations: 0 / 0.7352 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.4999, allocations: 7.438 kB / 0.7352 GB, free: 3.637 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4999, allocations: 0 / 0.7352 GB, free: 3.637 MB / 0.545 GB Notification: Performance of Templates: time 0.004012/0.5039, allocations: 1.636 MB / 0.7368 GB, free: 2.039 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: