Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7823/0.7823, allocations: 127.4 MB / 134.9 MB, free: 3.484 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.8 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 85.84 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.12e-05, allocations: 5.25 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 76.77 MB / 0.6216 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.3282, allocations: 103.5 MB / 0.7226 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3285, allocations: 95.92 kB / 0.7227 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009755/0.3383, allocations: 3.269 MB / 0.7259 GB, free: 116 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3383, allocations: 0 / 0.7259 GB, free: 116 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3383, allocations: 0 / 0.7259 GB, free: 116 kB / 0.4948 GB 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.0004854/0.3388, allocations: 417.8 kB / 0.7263 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3389, allocations: 12.03 kB / 0.7263 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3389, allocations: 11.84 kB / 0.7263 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3391, allocations: 175 kB / 0.7265 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3391, allocations: 8 kB / 0.7265 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3391, allocations: 0 / 0.7265 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.3392, allocations: 39.92 kB / 0.7265 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3394, allocations: 65.67 kB / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3394, allocations: 0 / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3394, allocations: 4 kB / 0.7266 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3394, allocations: 0 / 0.7266 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.3398, allocations: 261.5 kB / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.3399, allocations: 50.56 kB / 0.7269 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.34, allocations: 36.92 kB / 0.7269 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.34, allocations: 7.922 kB / 0.7269 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.34, allocations: 34.56 kB / 0.727 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.34, allocations: 0 / 0.727 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002948/0.3403, allocations: 105.6 kB / 0.7271 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3404, allocations: 81.14 kB / 0.7272 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.3405, allocations: 120.9 kB / 0.7273 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3405, allocations: 25.7 kB / 0.7273 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.3406, allocations: 92.12 kB / 0.7274 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.3406, allocations: 7.812 kB / 0.7274 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.3406, allocations: 0 / 0.7274 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3407, allocations: 318.8 kB / 0.7277 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.3408, allocations: 47.97 kB / 0.7277 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.3409, allocations: 51.97 kB / 0.7278 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.341, allocations: 56.03 kB / 0.7278 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3411, allocations: 0 / 0.7278 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002294/0.3413, allocations: 145.6 kB / 0.728 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.3414, allocations: 67.39 kB / 0.728 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3414, allocations: 0 / 0.728 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3414, allocations: 3.938 kB / 0.728 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.3415, allocations: 4 kB / 0.7281 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3415, allocations: 0 / 0.7281 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.3415, allocations: 19.92 kB / 0.7281 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3416, allocations: 7.953 kB / 0.7281 GB, free: 13.65 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.381e-05/0.3417, allocations: 130.7 kB / 0.7282 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3417, allocations: 7.906 kB / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3417, allocations: 4.344 kB / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3417, allocations: 0 / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3417, allocations: 3.984 kB / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3418, allocations: 0 / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3419, allocations: 154.2 kB / 0.7284 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3419, allocations: 0 / 0.7284 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.342, allocations: 11.98 kB / 0.7284 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.342, allocations: 0 / 0.7284 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.342, allocations: 0 / 0.7284 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.342, allocations: 3.984 kB / 0.7284 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.342, allocations: 0 / 0.7284 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3422, allocations: 215.3 kB / 0.7286 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.3423, allocations: 77.11 kB / 0.7287 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3423, allocations: 4.031 kB / 0.7287 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.3424, allocations: 11.98 kB / 0.7287 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3425, allocations: 4 kB / 0.7287 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3425, allocations: 0 / 0.7287 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.3425, allocations: 99.27 kB / 0.7288 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3426, allocations: 0 / 0.7288 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003362/0.3429, allocations: 67.92 kB / 0.7288 GB, free: 12.79 MB / 0.5105 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/0.3432, allocations: 167.1 kB / 0.729 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3435, allocations: 222.7 kB / 0.7292 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3435, allocations: 3.938 kB / 0.7292 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.3436, allocations: 95.39 kB / 0.7293 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3438, allocations: 6.391 kB / 0.7293 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3441, allocations: 123.9 kB / 0.7294 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3444, allocations: 0.6885 MB / 0.7301 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.3444, allocations: 4.062 kB / 0.7301 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.3444, allocations: 7.438 kB / 0.7301 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.3444, allocations: 0 / 0.7301 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.004671/0.3491, allocations: 1.549 MB / 0.7316 GB, free: 9.871 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)