Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003219/0.003219, allocations: 236.6 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.153/1.153, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.346e-05, allocations: 5.688 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00264/0.002663, allocations: 1.432 MB / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.00417, allocations: 0.8072 MB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.004194, allocations: 0 / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.004256, allocations: 0 / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.004301, allocations: 7.875 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.004959, allocations: 179.5 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.005069, allocations: 39.91 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.005137, allocations: 12 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.005189, allocations: 19.98 kB / 0.5568 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.005245, allocations: 19.95 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.005263, allocations: 4 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.005679, allocations: 215.5 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.005716, allocations: 4 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.005759, allocations: 19.91 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.006137, allocations: 231.5 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006139, allocations: 0 / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00614, allocations: 0 / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.006144, allocations: 3.938 kB / 0.5573 GB, free: 13.84 MB / 490.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.0007919/0.006935, allocations: 463.3 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006971, allocations: 12.75 kB / 0.5577 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.007021, allocations: 12.89 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.007146, allocations: 116.5 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.007158, allocations: 384 / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.007171, allocations: 4.375 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.007388, allocations: 103.9 kB / 0.5579 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.007398, allocations: 4.188 kB / 0.5579 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.00741, allocations: 4.375 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.007418, allocations: 7.938 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.007557, allocations: 77.61 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.007976, allocations: 275.8 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.008139, allocations: 88.73 kB / 0.5584 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.008266, allocations: 81.44 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.008279, allocations: 0 / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.008321, allocations: 41.33 kB / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.008322, allocations: 0 / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004658/0.008788, allocations: 242.6 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.008852, allocations: 77.11 kB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.00902, allocations: 193.9 kB / 0.559 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.009045, allocations: 29.7 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.009141, allocations: 130.9 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.009161, allocations: 11.89 kB / 0.5591 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.009221, allocations: 31.36 kB / 0.5592 GB, free: 11.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.009484, allocations: 0.4922 MB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.009631, allocations: 103.4 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.009774, allocations: 107.4 kB / 0.5599 GB, free: 10.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.01003, allocations: 184.7 kB / 0.56 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01003, allocations: 4 kB / 0.56 GB, free: 10.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003657/0.0104, allocations: 264.4 kB / 0.5603 GB, free: 10.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.149e-05/0.01046, allocations: 63.34 kB / 0.5603 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01046, allocations: 0 / 0.5603 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01047, allocations: 0 / 0.5603 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.01053, allocations: 7.984 kB / 0.5604 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01054, allocations: 0 / 0.5604 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.01058, allocations: 4 kB / 0.5604 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01059, allocations: 0 / 0.5604 GB, free: 10.32 MB / 490.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 () * 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.0001478/0.01073, allocations: 194.3 kB / 0.5605 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.01077, allocations: 15.89 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.01079, allocations: 4 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01079, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01079, allocations: 3.938 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.0108, allocations: 4 kB / 0.5606 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01097, allocations: 124.6 kB / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.01097, allocations: 0 / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.01101, allocations: 12.05 kB / 0.5607 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01101, allocations: 0 / 0.5607 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.01103, allocations: 7.938 kB / 0.5607 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.01103, allocations: 3.984 kB / 0.5607 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01103, allocations: 4 kB / 0.5607 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.01141, allocations: 327.2 kB / 0.561 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.01142, allocations: 4.234 kB / 0.561 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01144, allocations: 3.938 kB / 0.561 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.01151, allocations: 7.984 kB / 0.561 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.01158, allocations: 11.98 kB / 0.5611 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.01158, allocations: 0 / 0.5611 GB, free: 9.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.01168, allocations: 135.2 kB / 0.5612 GB, free: 9.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01168, allocations: 3.938 kB / 0.5612 GB, free: 9.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000321/0.012, allocations: 67.8 kB / 0.5613 GB, free: 9.316 MB / 490.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) * 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.0002826/0.01228, allocations: 159.2 kB / 0.5614 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.0127, allocations: 311.5 kB / 0.5617 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0127, allocations: 0 / 0.5617 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.01288, allocations: 140.8 kB / 0.5618 GB, free: 8.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.0131, allocations: 7.828 kB / 0.5618 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01353, allocations: 214.9 kB / 0.562 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.01361, allocations: 67.33 kB / 0.5621 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.919e-05/0.01363, allocations: 12 kB / 0.5621 GB, free: 8.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.01365, allocations: 8.5 kB / 0.5621 GB, free: 8.289 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01365, allocations: 0 / 0.5621 GB, free: 8.289 MB / 490.7 MB Notification: Performance of Templates: time 0.005255/0.01891, allocations: 1.788 MB / 0.5639 GB, free: 6.531 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.748731700936332]