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.001369/0.001369, allocations: 99.72 kB / 16.27 MB, free: 5.996 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.001473/0.001473, allocations: 193.8 kB / 17.2 MB, free: 5.605 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8436/0.8436, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.89 kB / 0.4958 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3493, allocations: 78.86 MB / 0.5728 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002543/0.3519, allocations: 1.411 MB / 0.5742 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3531, allocations: 0.7766 MB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.3531, allocations: 0 / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.293e-05/0.3532, allocations: 3.422 kB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.3533, allocations: 5.953 kB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.354, allocations: 175.4 kB / 0.5751 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.3541, allocations: 42.98 kB / 0.5751 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.3542, allocations: 10.86 kB / 0.5751 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.3542, allocations: 22.27 kB / 0.5752 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.3543, allocations: 21.77 kB / 0.5752 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3543, allocations: 3.562 kB / 0.5752 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.3546, allocations: 197.5 kB / 0.5754 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.3547, allocations: 6.672 kB / 0.5754 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3547, allocations: 22.23 kB / 0.5754 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.355, allocations: 191.2 kB / 0.5756 GB, free: 29.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.355, allocations: 1.406 kB / 0.5756 GB, free: 29.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.355, allocations: 1.625 kB / 0.5756 GB, free: 29.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.355, allocations: 0 / 0.5756 GB, free: 29.13 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.0004358/0.3555, allocations: 434.6 kB / 0.576 GB, free: 28.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3555, allocations: 11.53 kB / 0.576 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3556, allocations: 8.641 kB / 0.576 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.3557, allocations: 168.9 kB / 0.5762 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3557, allocations: 5.875 kB / 0.5762 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3557, allocations: 7.5 kB / 0.5762 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3559, allocations: 76.98 kB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3559, allocations: 0.9375 kB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3559, allocations: 1.625 kB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.356, allocations: 4.922 kB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3561, allocations: 50.12 kB / 0.5763 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3565, allocations: 283.8 kB / 0.5766 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3566, allocations: 63.77 kB / 0.5767 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.3567, allocations: 46.39 kB / 0.5767 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3567, allocations: 1.375 kB / 0.5767 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3567, allocations: 31.17 kB / 0.5767 GB, free: 28.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.3567, allocations: 0 / 0.5767 GB, free: 28.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003692/0.3571, allocations: 180.5 kB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3572, allocations: 83.97 kB / 0.577 GB, free: 27.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.3573, allocations: 125.4 kB / 0.5771 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3573, allocations: 31.55 kB / 0.5771 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.3573, allocations: 91.53 kB / 0.5772 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3573, allocations: 7.406 kB / 0.5772 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3574, allocations: 22.66 kB / 0.5772 GB, free: 27.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.3574, allocations: 320 kB / 0.5775 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3575, allocations: 58.08 kB / 0.5776 GB, free: 27.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.3576, allocations: 61.72 kB / 0.5777 GB, free: 27.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3579, allocations: 194.2 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3579, allocations: 1.906 kB / 0.5779 GB, free: 27.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002655/0.3581, allocations: 210 kB / 0.5781 GB, free: 27.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.3582, allocations: 66.88 kB / 0.5781 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.3582, allocations: 2.375 kB / 0.5781 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3582, allocations: 0.7031 kB / 0.5781 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.3583, allocations: 8.672 kB / 0.5781 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3583, allocations: 0.6094 kB / 0.5781 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.3584, allocations: 13.38 kB / 0.5781 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3584, allocations: 3.5 kB / 0.5781 GB, free: 26.93 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.742e-05/0.3585, allocations: 152.2 kB / 0.5783 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3585, allocations: 4.5 kB / 0.5783 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.3586, allocations: 6.797 kB / 0.5783 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3586, allocations: 4 kB / 0.5783 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3586, allocations: 0 / 0.5783 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3586, allocations: 2.875 kB / 0.5783 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3587, allocations: 173.1 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3587, allocations: 2.703 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.3588, allocations: 3.734 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3588, allocations: 5.125 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3588, allocations: 2.562 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3588, allocations: 1.312 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3588, allocations: 0.6562 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3591, allocations: 257.1 kB / 0.5787 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.3591, allocations: 79.25 kB / 0.5788 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3591, allocations: 4.781 kB / 0.5788 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.3592, allocations: 4.938 kB / 0.5788 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3593, allocations: 9.672 kB / 0.5788 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3593, allocations: 1.766 kB / 0.5788 GB, free: 26.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.3594, allocations: 94.88 kB / 0.5789 GB, free: 26.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3594, allocations: 0.5312 kB / 0.5789 GB, free: 26.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.3598, allocations: 63.52 kB / 0.579 GB, free: 26.18 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.0002696/0.36, allocations: 154.6 kB / 0.5791 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3604, allocations: 245.6 kB / 0.5794 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3604, allocations: 0 / 0.5794 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3605, allocations: 107 kB / 0.5795 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3607, allocations: 6.922 kB / 0.5795 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.3611, allocations: 174 kB / 0.5796 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3612, allocations: 0.684 MB / 0.5803 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.3613, allocations: 2.891 kB / 0.5803 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3613, allocations: 13.72 kB / 0.5803 GB, free: 25 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3613, allocations: 0 / 0.5803 GB, free: 25 MB / 446.1 MB Notification: Performance of Templates: time 0.004487/0.3658, allocations: 1.757 MB / 0.582 GB, free: 24.2 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)