Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008655/0.0008655, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 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.0009354/0.0009354, allocations: 169 kB / 24.14 MB, free: 356 kB / 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 0.9209/0.9209, allocations: 177.1 MB / 204.6 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5829/0.5829, allocations: 115 MB / 376 MB, free: 7.426 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.114e-05, allocations: 2.312 kB / 428.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001777/0.001788, allocations: 1.475 MB / 430.2 MB, free: 1.297 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009178/0.002706, allocations: 0.8062 MB / 431 MB, free: 500 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.002732, allocations: 0 / 431 MB, free: 500 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.002796, allocations: 3.984 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.002843, allocations: 15.88 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.003326, allocations: 175.5 kB / 431.2 MB, free: 304 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003411, allocations: 43.92 kB / 431.3 MB, free: 260 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.003463, allocations: 7.984 kB / 431.3 MB, free: 252 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.003505, allocations: 19.98 kB / 431.3 MB, free: 232 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.00355, allocations: 19.97 kB / 431.3 MB, free: 212 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003562, allocations: 8 kB / 431.3 MB, free: 204 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.003842, allocations: 207.7 kB / 431.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.003882, allocations: 15.92 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.003909, allocations: 15.94 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.004131, allocations: 215.5 kB / 431.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004133, allocations: 4 kB / 431.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.004134, allocations: 0 / 431.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004137, allocations: 0 / 431.8 MB, free: 15.75 MB / 410.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.0003231/0.00446, allocations: 331.9 kB / 432.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.004489, allocations: 8.031 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.004514, allocations: 4.938 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.008e-05/0.004584, allocations: 125.6 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.004595, allocations: 8.359 kB / 432.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.004605, allocations: 4.359 kB / 432.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.004721, allocations: 100.2 kB / 432.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004728, allocations: 0 / 432.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.004735, allocations: 4 kB / 432.3 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.004739, allocations: 0 / 432.3 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.004772, allocations: 49.62 kB / 432.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.00495, allocations: 160.3 kB / 432.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.005007, allocations: 64.27 kB / 432.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.005037, allocations: 54.59 kB / 432.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.005047, allocations: 7.969 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.005067, allocations: 38.5 kB / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005068, allocations: 0 / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.005217, allocations: 170.8 kB / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.005245, allocations: 77.11 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.005313, allocations: 126.7 kB / 433.1 MB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.005323, allocations: 29.7 kB / 433.1 MB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.005351, allocations: 80.14 kB / 433.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.005364, allocations: 11.94 kB / 433.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.005393, allocations: 21.73 kB / 433.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.005463, allocations: 318.8 kB / 433.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.005515, allocations: 86.16 kB / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.005552, allocations: 75.39 kB / 433.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.00563, allocations: 144.7 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005632, allocations: 0 / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001071/0.005739, allocations: 196.4 kB / 434 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.005772, allocations: 70.52 kB / 434.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005775, allocations: 0 / 434.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.005786, allocations: 0 / 434.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.651e-05/0.005822, allocations: 4 kB / 434.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005825, allocations: 4 kB / 434.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.005849, allocations: 15.88 kB / 434.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.005856, allocations: 0 / 434.1 MB, free: 13.11 MB / 410.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 6.153e-05/0.005917, allocations: 138.4 kB / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.005933, allocations: 15.88 kB / 434.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.005951, allocations: 11.98 kB / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.005952, allocations: 0 / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005953, allocations: 0 / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005956, allocations: 0 / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.99e-05/0.006036, allocations: 77.88 kB / 434.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006037, allocations: 4 kB / 434.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.006047, allocations: 4 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.006047, allocations: 0 / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.006054, allocations: 8 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006055, allocations: 0 / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006055, allocations: 0 / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.006171, allocations: 231.1 kB / 434.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-06/0.006175, allocations: 0 / 434.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.00619, allocations: 11.92 kB / 434.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.006219, allocations: 4 kB / 434.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.006259, allocations: 8.031 kB / 434.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006262, allocations: 0 / 434.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.676e-05/0.006279, allocations: 24.77 kB / 434.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006279, allocations: 0 / 434.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.00649, allocations: 67.86 kB / 434.7 MB, free: 12.45 MB / 410.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.0001734/0.006663, allocations: 140.2 kB / 434.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.006817, allocations: 252.7 kB / 435.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.006819, allocations: 0 / 435.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.006873, allocations: 116.8 kB / 435.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.312e-05/0.006966, allocations: 12.06 kB / 435.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.007182, allocations: 192.9 kB / 435.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.007213, allocations: 63.34 kB / 435.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.007226, allocations: 3.906 kB / 435.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.007271, allocations: 55.38 kB / 435.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007271, allocations: 0 / 435.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of Templates: time 0.003334/0.01061, allocations: 1.993 MB / 437.5 MB, free: 9.496 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3249807180836797]