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.00165/0.00165, allocations: 108.7 kB / 16.64 MB, free: 6.371 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.001424/0.001424, allocations: 193.4 kB / 17.56 MB, free: 5.797 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.471/1.471, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8428/0.8428, allocations: 125.3 MB / 416.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 67.89 kB / 0.4943 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3982, allocations: 78.56 MB / 0.571 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002868/0.4011, allocations: 1.482 MB / 0.5725 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4024, allocations: 0.7807 MB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.4025, allocations: 0 / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.868e-05/0.4026, allocations: 2.031 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.4027, allocations: 5.531 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.4034, allocations: 147.4 kB / 0.5734 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4035, allocations: 53.28 kB / 0.5734 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.4036, allocations: 5.25 kB / 0.5734 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.4036, allocations: 17.38 kB / 0.5734 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.4037, allocations: 25.61 kB / 0.5735 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.4037, allocations: 3.5 kB / 0.5735 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.4041, allocations: 200.6 kB / 0.5737 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.4041, allocations: 10.39 kB / 0.5737 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.4042, allocations: 22.45 kB / 0.5737 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.4044, allocations: 133.2 kB / 0.5738 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4044, allocations: 0 / 0.5738 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4045, allocations: 0.5938 kB / 0.5738 GB, free: 29.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4045, allocations: 1.281 kB / 0.5738 GB, free: 29.07 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.0004806/0.4049, allocations: 427.6 kB / 0.5742 GB, free: 28.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.405, allocations: 10.75 kB / 0.5742 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.405, allocations: 7.938 kB / 0.5742 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.4051, allocations: 178.4 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4052, allocations: 1.906 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4052, allocations: 7.375 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.4054, allocations: 80.55 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4054, allocations: 1.031 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4054, allocations: 1.094 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4054, allocations: 1.75 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.4056, allocations: 50.75 kB / 0.5746 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.4059, allocations: 279.3 kB / 0.5748 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4061, allocations: 57.66 kB / 0.5749 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.4062, allocations: 45.25 kB / 0.5749 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.4062, allocations: 1.469 kB / 0.5749 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4062, allocations: 38.47 kB / 0.575 GB, free: 27.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4062, allocations: 0 / 0.575 GB, free: 27.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004014/0.4066, allocations: 184 kB / 0.5751 GB, free: 27.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4067, allocations: 79.92 kB / 0.5752 GB, free: 27.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.4068, allocations: 125.1 kB / 0.5753 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4068, allocations: 28.36 kB / 0.5754 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.4069, allocations: 87.95 kB / 0.5754 GB, free: 27.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.4069, allocations: 10.94 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.4069, allocations: 21.14 kB / 0.5755 GB, free: 27.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.407, allocations: 328.2 kB / 0.5758 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4071, allocations: 57.73 kB / 0.5758 GB, free: 27.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4072, allocations: 55.44 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.4074, allocations: 199 kB / 0.5761 GB, free: 27.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.4075, allocations: 0 / 0.5761 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/0.4077, allocations: 219.6 kB / 0.5763 GB, free: 26.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.4078, allocations: 61.86 kB / 0.5764 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4078, allocations: 0.6094 kB / 0.5764 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4079, allocations: 2.344 kB / 0.5764 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.4079, allocations: 3.391 kB / 0.5764 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4079, allocations: 1.094 kB / 0.5764 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.408, allocations: 19.06 kB / 0.5764 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.408, allocations: 6.219 kB / 0.5764 GB, free: 26.87 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 8.837e-05/0.4081, allocations: 147.8 kB / 0.5765 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4081, allocations: 7.094 kB / 0.5765 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.4082, allocations: 7.234 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4082, allocations: 1.125 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4082, allocations: 1.156 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4082, allocations: 0.7969 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4083, allocations: 174.2 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4084, allocations: 1.062 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.4084, allocations: 4.672 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4084, allocations: 7.484 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4084, allocations: 1.25 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4084, allocations: 3.938 kB / 0.5767 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4084, allocations: 1.828 kB / 0.5767 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4087, allocations: 257.3 kB / 0.577 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.4087, allocations: 79.19 kB / 0.577 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4088, allocations: 3.625 kB / 0.577 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.4088, allocations: 5.531 kB / 0.5771 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.409, allocations: 4.344 kB / 0.5771 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.409, allocations: 2.859 kB / 0.5771 GB, free: 26.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.409, allocations: 100.7 kB / 0.5772 GB, free: 26.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4091, allocations: 0 / 0.5772 GB, free: 26.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.4095, allocations: 59.14 kB / 0.5772 GB, free: 26.12 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.0002673/0.4098, allocations: 154.4 kB / 0.5774 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4101, allocations: 243.7 kB / 0.5776 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4101, allocations: 0.5625 kB / 0.5776 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4102, allocations: 101 kB / 0.5777 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.4105, allocations: 13.3 kB / 0.5777 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.4108, allocations: 213.8 kB / 0.5779 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.411, allocations: 0.6876 MB / 0.5786 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.411, allocations: 8.688 kB / 0.5786 GB, free: 24.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.411, allocations: 0 / 0.5786 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Templates: time 0.004189/0.4152, allocations: 1.49 MB / 0.58 GB, free: 24.85 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)