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.001377/0.001377, allocations: 88.72 kB / 19.44 MB, free: 356 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.001535/0.001535, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.002573/0.002573, allocations: 235.8 kB / 259.8 MB, free: 12.84 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.086/1.086, allocations: 138.4 MB / 454.7 MB, free: 1.445 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.493e-06/1.493e-06, allocations: 0 / 0.5543 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.533e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002669/0.002695, allocations: 1.436 MB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.00424, allocations: 0.7799 MB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.004266, allocations: 0 / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.099e-05/0.004337, allocations: 7.922 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.004384, allocations: 7.938 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.005041, allocations: 179.5 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.005151, allocations: 39.92 kB / 0.5567 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.005224, allocations: 11.97 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.00528, allocations: 19.98 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.005337, allocations: 15.98 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.005355, allocations: 4 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.005764, allocations: 215.5 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.005809, allocations: 7.984 kB / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.005845, allocations: 15.94 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.006219, allocations: 239.4 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.006222, allocations: 4 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006222, allocations: 0 / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.006226, allocations: 0 / 0.5572 GB, free: 13.81 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.0005384/0.006765, allocations: 357.4 kB / 0.5576 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.0068, allocations: 8.75 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.006851, allocations: 12.83 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.006973, allocations: 117.7 kB / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.006985, allocations: 384 / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.007002, allocations: 12.38 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.007219, allocations: 107.9 kB / 0.5578 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007229, allocations: 4.125 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.007239, allocations: 384 / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.007247, allocations: 3.938 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.007408, allocations: 77.67 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.007788, allocations: 208.6 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.007945, allocations: 88.25 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.008072, allocations: 74.61 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.008087, allocations: 7.984 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.008123, allocations: 38.44 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.008124, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004987/0.008623, allocations: 246.7 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.008688, allocations: 81.11 kB / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.008814, allocations: 121.8 kB / 0.5587 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.008836, allocations: 29.7 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.008898, allocations: 84.14 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.008919, allocations: 11.89 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.00897, allocations: 29.73 kB / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.009139, allocations: 310.8 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.009314, allocations: 119.4 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.009473, allocations: 119.3 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.009764, allocations: 202 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009765, allocations: 0 / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003999/0.01017, allocations: 280.4 kB / 0.5599 GB, free: 10.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.01024, allocations: 71.34 kB / 0.5599 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.01024, allocations: 3.938 kB / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01026, allocations: 4 kB / 0.56 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.01032, allocations: 7.984 kB / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01032, allocations: 0 / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.01037, allocations: 4 kB / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.01038, allocations: 4 kB / 0.56 GB, free: 10.71 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.0001326/0.01052, allocations: 147.5 kB / 0.5601 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.01056, allocations: 15.89 kB / 0.5601 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.01058, allocations: 4 kB / 0.5601 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01058, allocations: 0 / 0.5601 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01058, allocations: 4 kB / 0.5601 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.01058, allocations: 0 / 0.5601 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01075, allocations: 121.3 kB / 0.5602 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01075, allocations: 0 / 0.5602 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.01078, allocations: 4 kB / 0.5603 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01078, allocations: 0 / 0.5603 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.0108, allocations: 3.938 kB / 0.5603 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.0108, allocations: 3.984 kB / 0.5603 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.0108, allocations: 3.984 kB / 0.5603 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.01119, allocations: 282.9 kB / 0.5605 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.0112, allocations: 4.031 kB / 0.5605 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.01122, allocations: 7.938 kB / 0.5605 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.01131, allocations: 7.984 kB / 0.5606 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.0114, allocations: 4.172 kB / 0.5606 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01141, allocations: 4 kB / 0.5606 GB, free: 10.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.01149, allocations: 103.6 kB / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01149, allocations: 0 / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.01183, allocations: 59.86 kB / 0.5607 GB, free: 9.867 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.0003164/0.01214, allocations: 163.1 kB / 0.5609 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.01259, allocations: 331.8 kB / 0.5612 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01259, allocations: 0 / 0.5612 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.01277, allocations: 129.1 kB / 0.5613 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.013, allocations: 9.016 kB / 0.5613 GB, free: 9.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.01348, allocations: 221.2 kB / 0.5615 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.01356, allocations: 67.34 kB / 0.5616 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.01358, allocations: 64 / 0.5616 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.0136, allocations: 16.5 kB / 0.5616 GB, free: 8.832 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0136, allocations: 0 / 0.5616 GB, free: 8.832 MB / 490.7 MB Notification: Performance of Templates: time 0.005359/0.01896, allocations: 1.793 MB / 0.5634 GB, free: 7.086 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.495821431977674]