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.0008088/0.0008088, allocations: 90.88 kB / 16.67 MB, free: 6.109 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.0008328/0.0008329, allocations: 178.9 kB / 17.57 MB, free: 5.824 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: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7618/0.7618, allocations: 115.5 MB / 408.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005645, allocations: 11.98 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.424, allocations: 77.51 MB / 0.5606 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001819/0.4259, allocations: 1.14 MB / 0.5617 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4274, allocations: 0.7939 MB / 0.5625 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.4275, allocations: 0 / 0.5625 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.062e-05/0.4276, allocations: 0.6562 kB / 0.5625 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.4276, allocations: 6.312 kB / 0.5625 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.4284, allocations: 134.3 kB / 0.5626 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4285, allocations: 34.66 kB / 0.5626 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.4286, allocations: 7.328 kB / 0.5627 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.4287, allocations: 18.16 kB / 0.5627 GB, free: 35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.4287, allocations: 18.8 kB / 0.5627 GB, free: 35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.4288, allocations: 1.25 kB / 0.5627 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.4293, allocations: 187 kB / 0.5629 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.4293, allocations: 11.81 kB / 0.5629 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.4294, allocations: 43.77 kB / 0.5629 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.4297, allocations: 134.1 kB / 0.5631 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4297, allocations: 0 / 0.5631 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4297, allocations: 0 / 0.5631 GB, free: 34.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4298, allocations: 0 / 0.5631 GB, free: 34.88 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.0005381/0.4303, allocations: 423.4 kB / 0.5635 GB, free: 34.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4304, allocations: 9.906 kB / 0.5635 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.4304, allocations: 8.203 kB / 0.5635 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.846e-05/0.4305, allocations: 164.2 kB / 0.5636 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4305, allocations: 2.344 kB / 0.5636 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4306, allocations: 4.047 kB / 0.5636 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.4308, allocations: 92.22 kB / 0.5637 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4308, allocations: 4.547 kB / 0.5637 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4308, allocations: 2.344 kB / 0.5637 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.4308, allocations: 4 kB / 0.5637 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.431, allocations: 50.92 kB / 0.5638 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4314, allocations: 286.6 kB / 0.5641 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4315, allocations: 62.66 kB / 0.5641 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.868e-05/0.4317, allocations: 49.14 kB / 0.5642 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.4317, allocations: 0.6562 kB / 0.5642 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4317, allocations: 41.73 kB / 0.5642 GB, free: 33.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.4317, allocations: 0 / 0.5642 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004405/0.4322, allocations: 186.4 kB / 0.5644 GB, free: 33.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.4322, allocations: 80.22 kB / 0.5645 GB, free: 33.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4323, allocations: 131.6 kB / 0.5646 GB, free: 33.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4323, allocations: 25.7 kB / 0.5646 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.4324, allocations: 91.39 kB / 0.5647 GB, free: 33.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.4324, allocations: 6.641 kB / 0.5647 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4324, allocations: 18.34 kB / 0.5647 GB, free: 33.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.4325, allocations: 316.1 kB / 0.565 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4326, allocations: 59.98 kB / 0.5651 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.4328, allocations: 63.88 kB / 0.5651 GB, free: 33.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.433, allocations: 204 kB / 0.5653 GB, free: 32.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.433, allocations: 0.9062 kB / 0.5653 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002984/0.4333, allocations: 217.2 kB / 0.5655 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.4334, allocations: 64.36 kB / 0.5656 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4334, allocations: 1.562 kB / 0.5656 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4334, allocations: 1.219 kB / 0.5656 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.4335, allocations: 5.547 kB / 0.5656 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4335, allocations: 0 / 0.5656 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.4336, allocations: 19.06 kB / 0.5656 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4336, allocations: 2 kB / 0.5656 GB, free: 32.68 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 9.942e-05/0.4337, allocations: 157.8 kB / 0.5658 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4337, allocations: 9.156 kB / 0.5658 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.4338, allocations: 10.11 kB / 0.5658 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4338, allocations: 1.25 kB / 0.5658 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4338, allocations: 0 / 0.5658 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4338, allocations: 2.719 kB / 0.5658 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.4339, allocations: 170.3 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.434, allocations: 0.7031 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.434, allocations: 4.672 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.434, allocations: 1.734 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.434, allocations: 6.125 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.434, allocations: 1.438 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.434, allocations: 0.7188 kB / 0.566 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4343, allocations: 257.8 kB / 0.5662 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.4343, allocations: 82.69 kB / 0.5663 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4344, allocations: 4.578 kB / 0.5663 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.4344, allocations: 6.656 kB / 0.5663 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4346, allocations: 13.97 kB / 0.5663 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.4346, allocations: 6.516 kB / 0.5663 GB, free: 32.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.4346, allocations: 100.1 kB / 0.5664 GB, free: 31.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 0 / 0.5664 GB, free: 31.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.4351, allocations: 59.27 kB / 0.5665 GB, free: 31.92 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.4354, allocations: 146.4 kB / 0.5666 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.4357, allocations: 244.1 kB / 0.5669 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4357, allocations: 0 / 0.5669 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4358, allocations: 106.4 kB / 0.567 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.4361, allocations: 12.66 kB / 0.567 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.4365, allocations: 215 kB / 0.5672 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4366, allocations: 0.6937 MB / 0.5679 GB, free: 30.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.4366, allocations: 10.66 kB / 0.5679 GB, free: 30.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4366, allocations: 0 / 0.5679 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Templates: time 0.003881/0.4405, allocations: 1.478 MB / 0.5693 GB, free: 30.66 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)