Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.611/1.611, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009402, allocations: 179.9 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007705/0.0007703, allocations: 104.4 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6022, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.7702, allocations: 142.7 MB / 1.166 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.7705, allocations: 92.41 kB / 1.166 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009475/0.78, allocations: 3.258 MB / 1.169 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.054e-06/0.78, allocations: 1.656 kB / 1.169 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7801, allocations: 0 / 1.169 GB, free: 14.91 MB / 0.7448 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.0004364/0.7805, allocations: 440.7 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7806, allocations: 8.562 kB / 1.169 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.7806, allocations: 10.91 kB / 1.169 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7807, allocations: 179 kB / 1.17 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7807, allocations: 2.203 kB / 1.17 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.7808, allocations: 4.375 kB / 1.17 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.781, allocations: 78.84 kB / 1.17 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.781, allocations: 192 / 1.17 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.781, allocations: 9.656 kB / 1.17 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.781, allocations: 0 / 1.17 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.7811, allocations: 50.39 kB / 1.17 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.7815, allocations: 278.4 kB / 1.17 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.7817, allocations: 68.97 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.7818, allocations: 49.7 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.7818, allocations: 1.156 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7818, allocations: 34.56 kB / 1.17 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.7818, allocations: 2 kB / 1.17 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003618/0.7822, allocations: 185.9 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7823, allocations: 87.05 kB / 1.17 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.7824, allocations: 126.2 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7824, allocations: 26.83 kB / 1.171 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.7824, allocations: 93.95 kB / 1.171 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.7825, allocations: 4.562 kB / 1.171 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.7825, allocations: 4.844 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.7826, allocations: 319.4 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.7827, allocations: 58.12 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.7828, allocations: 57.66 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.783, allocations: 192.4 kB / 1.171 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.783, allocations: 0 / 1.171 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002874/0.7833, allocations: 223.9 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.7834, allocations: 70.17 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7834, allocations: 1.219 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7834, allocations: 1.031 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.7835, allocations: 5.5 kB / 1.172 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7835, allocations: 2.812 kB / 1.172 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.7835, allocations: 18.41 kB / 1.172 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.7835, allocations: 0.7031 kB / 1.172 GB, free: 12.18 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.7837, allocations: 150.5 kB / 1.172 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.7837, allocations: 4.984 kB / 1.172 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.7837, allocations: 6.453 kB / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7837, allocations: 4 kB / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7837, allocations: 0 / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7837, allocations: 1.906 kB / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.7839, allocations: 174 kB / 1.172 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7839, allocations: 0 / 1.172 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.7839, allocations: 10.06 kB / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.784, allocations: 0 / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.784, allocations: 4.703 kB / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.784, allocations: 0 / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.784, allocations: 3.938 kB / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.7843, allocations: 258.5 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.7843, allocations: 86.52 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.7843, allocations: 0.6094 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.7844, allocations: 11.98 kB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.7845, allocations: 6.812 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.7845, allocations: 4.703 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.7845, allocations: 91.45 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7846, allocations: 0 / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002909/0.7849, allocations: 66.05 kB / 1.172 GB, free: 11.26 MB / 0.7448 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) * 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 (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.0002488/0.7851, allocations: 165.5 kB / 1.173 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.7854, allocations: 236.7 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7854, allocations: 4 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.7856, allocations: 103.5 kB / 1.173 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.7858, allocations: 15.03 kB / 1.173 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.7861, allocations: 189.7 kB / 1.173 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.7864, allocations: 0.6831 MB / 1.174 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.7864, allocations: 4.75 kB / 1.174 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.7864, allocations: 7.438 kB / 1.174 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7864, allocations: 0 / 1.174 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of Templates: time 0.004088/0.7905, allocations: 1.599 MB / 1.175 GB, free: 8.965 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)