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.7609/0.7609, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 196.7 kB / 169.7 MB, free: 1.723 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.942/1.942, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.00113/0.00113, allocations: 83.52 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.999e-05, allocations: 4 kB / 0.5532 GB, free: 54.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 76.76 MB / 0.6282 GB, free: 9.984 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/0.8411, allocations: 104.1 MB / 0.7299 GB, free: 9.195 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.8416, allocations: 97.17 kB / 0.73 GB, free: 9.137 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.8523, allocations: 3.286 MB / 0.7332 GB, free: 6.246 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.8523, allocations: 0 / 0.7332 GB, free: 6.246 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.8524, allocations: 0 / 0.7332 GB, free: 6.246 MB / 490.7 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.000455/0.8528, allocations: 425.4 kB / 0.7336 GB, free: 5.777 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8529, allocations: 8.031 kB / 0.7336 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.8529, allocations: 16.05 kB / 0.7336 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8531, allocations: 159.1 kB / 0.7338 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.8531, allocations: 8 kB / 0.7338 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.8531, allocations: 3.938 kB / 0.7338 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.8533, allocations: 72.91 kB / 0.7338 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.8533, allocations: 0 / 0.7338 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8533, allocations: 3.75 kB / 0.7338 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8533, allocations: 0 / 0.7338 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.8534, allocations: 43.23 kB / 0.7339 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.8538, allocations: 283.6 kB / 0.7342 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.8539, allocations: 57.44 kB / 0.7342 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.854, allocations: 44.28 kB / 0.7343 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.854, allocations: 0 / 0.7343 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8541, allocations: 30.56 kB / 0.7343 GB, free: 5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8541, allocations: 0 / 0.7343 GB, free: 5 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000263/0.8543, allocations: 144.9 kB / 0.7344 GB, free: 4.863 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.8544, allocations: 85.14 kB / 0.7345 GB, free: 4.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.8545, allocations: 112.8 kB / 0.7346 GB, free: 4.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.8545, allocations: 25.7 kB / 0.7346 GB, free: 4.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.8546, allocations: 87.58 kB / 0.7347 GB, free: 4.535 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.8546, allocations: 10.81 kB / 0.7347 GB, free: 4.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.8546, allocations: 0 / 0.7347 GB, free: 4.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8548, allocations: 321.8 kB / 0.735 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.8548, allocations: 51.22 kB / 0.7351 GB, free: 4.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.8549, allocations: 47.23 kB / 0.7351 GB, free: 4.133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.855, allocations: 114.1 kB / 0.7352 GB, free: 4.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.855, allocations: 0 / 0.7352 GB, free: 4.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.8553, allocations: 201.5 kB / 0.7354 GB, free: 3.832 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.8553, allocations: 63.39 kB / 0.7355 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8554, allocations: 0 / 0.7355 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8554, allocations: 4 kB / 0.7355 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.8554, allocations: 4 kB / 0.7355 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8555, allocations: 7.891 kB / 0.7355 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.8555, allocations: 11.98 kB / 0.7355 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.8555, allocations: 4 kB / 0.7355 GB, free: 3.727 MB / 490.7 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 () * 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.888e-05/0.8557, allocations: 134.5 kB / 0.7357 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.8557, allocations: 7.906 kB / 0.7357 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.8557, allocations: 4.844 kB / 0.7357 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8557, allocations: 4 kB / 0.7357 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8557, allocations: 0 / 0.7357 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8557, allocations: 3.953 kB / 0.7357 GB, free: 3.566 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.8559, allocations: 168.9 kB / 0.7358 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8559, allocations: 0 / 0.7358 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.856, allocations: 16.05 kB / 0.7358 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.856, allocations: 0 / 0.7358 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.856, allocations: 4 kB / 0.7359 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.856, allocations: 0 / 0.7359 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.856, allocations: 0 / 0.7359 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.8562, allocations: 242.8 kB / 0.7361 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.8563, allocations: 81.11 kB / 0.7362 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.8563, allocations: 8.016 kB / 0.7362 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.8564, allocations: 4 kB / 0.7362 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.8565, allocations: 15.77 kB / 0.7362 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.8565, allocations: 4 kB / 0.7362 GB, free: 2.977 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.8566, allocations: 91.81 kB / 0.7363 GB, free: 2.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8566, allocations: 0 / 0.7363 GB, free: 2.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00033/0.8569, allocations: 74.73 kB / 0.7364 GB, free: 2.82 MB / 490.7 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) * 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.0002939/0.8572, allocations: 170.9 kB / 0.7365 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.8575, allocations: 230.4 kB / 0.7367 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8575, allocations: 0 / 0.7367 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.8576, allocations: 101.2 kB / 0.7368 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.8578, allocations: 9.781 kB / 0.7368 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.8581, allocations: 119.1 kB / 0.737 GB, free: 2.195 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.8583, allocations: 0.6884 MB / 0.7376 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.8584, allocations: 8.062 kB / 0.7376 GB, free: 1.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.8584, allocations: 7.438 kB / 0.7376 GB, free: 1.469 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.8584, allocations: 0 / 0.7376 GB, free: 1.469 MB / 490.7 MB Notification: Performance of Templates: time 0.003925/0.8623, allocations: 1.616 MB / 0.7392 GB, free: 15.9 MB / 0.4948 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)