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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001329/0.001329, allocations: 106.3 kB / 16.52 MB, free: 6.723 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.00133/0.00133, allocations: 195.2 kB / 17.45 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7095/0.7095, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 71.89 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3911, allocations: 76.17 MB / 0.5564 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002631/0.3938, allocations: 1.476 MB / 0.5578 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3951, allocations: 0.8129 MB / 0.5586 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3951, allocations: 1.656 kB / 0.5586 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.304e-05/0.3952, allocations: 1.938 kB / 0.5586 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.3953, allocations: 1.719 kB / 0.5586 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.3958, allocations: 129.9 kB / 0.5588 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.3959, allocations: 35.81 kB / 0.5588 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.396, allocations: 10.06 kB / 0.5588 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.3961, allocations: 12.64 kB / 0.5588 GB, free: 35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.3961, allocations: 24.31 kB / 0.5588 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3961, allocations: 3.188 kB / 0.5588 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.3965, allocations: 184.8 kB / 0.559 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3965, allocations: 8.047 kB / 0.559 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.3966, allocations: 19.58 kB / 0.559 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3968, allocations: 132.9 kB / 0.5592 GB, free: 34.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3968, allocations: 1.359 kB / 0.5592 GB, free: 34.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3968, allocations: 0 / 0.5592 GB, free: 34.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3968, allocations: 4.5 kB / 0.5592 GB, free: 34.9 MB / 446.1 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.0004434/0.3973, allocations: 437.2 kB / 0.5596 GB, free: 34.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3973, allocations: 9.828 kB / 0.5596 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3974, allocations: 5 kB / 0.5596 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.3975, allocations: 169.9 kB / 0.5598 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3975, allocations: 2.156 kB / 0.5598 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3975, allocations: 2.875 kB / 0.5598 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3977, allocations: 82.58 kB / 0.5599 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3977, allocations: 1.094 kB / 0.5599 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3977, allocations: 0 / 0.5599 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3977, allocations: 1.281 kB / 0.5599 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3979, allocations: 51.61 kB / 0.5599 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3982, allocations: 284 kB / 0.5602 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3984, allocations: 55.28 kB / 0.5602 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.3985, allocations: 48.5 kB / 0.5603 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3985, allocations: 1.5 kB / 0.5603 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.3985, allocations: 31.17 kB / 0.5603 GB, free: 33.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3985, allocations: 1.344 kB / 0.5603 GB, free: 33.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004044/0.3989, allocations: 191.2 kB / 0.5605 GB, free: 33.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.399, allocations: 80.42 kB / 0.5606 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.3991, allocations: 123.5 kB / 0.5607 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3991, allocations: 28.41 kB / 0.5607 GB, free: 33.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3991, allocations: 87.59 kB / 0.5608 GB, free: 33.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.3991, allocations: 7.234 kB / 0.5608 GB, free: 33.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3992, allocations: 26.56 kB / 0.5608 GB, free: 33.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.3992, allocations: 319.3 kB / 0.5611 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3994, allocations: 54.27 kB / 0.5612 GB, free: 33.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.3995, allocations: 57.8 kB / 0.5612 GB, free: 33.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3997, allocations: 203.7 kB / 0.5614 GB, free: 32.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3997, allocations: 1.125 kB / 0.5614 GB, free: 32.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002687/0.4, allocations: 225.5 kB / 0.5616 GB, free: 32.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.4, allocations: 62.52 kB / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4, allocations: 0.6562 kB / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4, allocations: 2.594 kB / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.4001, allocations: 4.125 kB / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4001, allocations: 0 / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.4002, allocations: 16.02 kB / 0.5617 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4002, allocations: 2.984 kB / 0.5617 GB, free: 32.7 MB / 446.1 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 7.865e-05/0.4003, allocations: 149.5 kB / 0.5619 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.4003, allocations: 10.11 kB / 0.5619 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.4003, allocations: 12.62 kB / 0.5619 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4003, allocations: 0 / 0.5619 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4004, allocations: 2.031 kB / 0.5619 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4004, allocations: 0.6094 kB / 0.5619 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4005, allocations: 174.7 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4005, allocations: 0.8125 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.4005, allocations: 5 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4006, allocations: 2.125 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4006, allocations: 1.5 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4006, allocations: 0.75 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4006, allocations: 5.469 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4008, allocations: 244.4 kB / 0.5623 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.4009, allocations: 84.83 kB / 0.5624 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4009, allocations: 11.08 kB / 0.5624 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.401, allocations: 5.406 kB / 0.5624 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4011, allocations: 5.031 kB / 0.5624 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4011, allocations: 2 kB / 0.5624 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.947e-05/0.4012, allocations: 97.8 kB / 0.5625 GB, free: 31.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4012, allocations: 0 / 0.5625 GB, free: 31.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.4015, allocations: 58.75 kB / 0.5626 GB, free: 31.95 MB / 446.1 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.000259/0.4018, allocations: 151.4 kB / 0.5627 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4021, allocations: 243.6 kB / 0.5629 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4021, allocations: 1.156 kB / 0.5629 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4023, allocations: 104.3 kB / 0.563 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4025, allocations: 9.469 kB / 0.5631 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.4029, allocations: 207.2 kB / 0.5633 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.403, allocations: 0.6902 MB / 0.5639 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.403, allocations: 8.969 kB / 0.5639 GB, free: 30.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.403, allocations: 0 / 0.5639 GB, free: 30.75 MB / 446.1 MB Notification: Performance of Templates: time 0.003734/0.4068, allocations: 1.491 MB / 0.5654 GB, free: 30.69 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)