Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 289.7 MB / 302.2 MB, free: 2.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 182.8 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008968/0.000897, allocations: 88.59 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.627e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8398/1.131, allocations: 140.4 MB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.132, allocations: 88.34 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009195/1.141, allocations: 3.201 MB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.896e-06/1.141, allocations: 4 kB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.141, allocations: 0 / 1.12 GB, free: 41.85 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.000469/1.142, allocations: 427.7 kB / 1.121 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.142, allocations: 8.031 kB / 1.121 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/1.142, allocations: 12 kB / 1.121 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.142, allocations: 170.4 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.142, allocations: 3.5 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/1.142, allocations: 7.266 kB / 1.121 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/1.142, allocations: 70.67 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.142, allocations: 0.5625 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.142, allocations: 7.188 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.142, allocations: 0 / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/1.142, allocations: 33.98 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/1.143, allocations: 285 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/1.143, allocations: 60.06 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/1.143, allocations: 39.06 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/1.143, allocations: 0 / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.143, allocations: 39 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/1.143, allocations: 0 / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000285/1.143, allocations: 135.9 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.143, allocations: 77.11 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/1.143, allocations: 117.7 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.143, allocations: 30.58 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/1.143, allocations: 97.89 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/1.143, allocations: 3.906 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/1.143, allocations: 4 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/1.143, allocations: 317.8 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/1.144, allocations: 50.86 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/1.144, allocations: 50.02 kB / 1.122 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/1.144, allocations: 109.5 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.144, allocations: 0 / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001912/1.144, allocations: 208.1 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/1.144, allocations: 66.42 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.144, allocations: 0 / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.144, allocations: 3.938 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/1.144, allocations: 8.109 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.144, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/1.144, allocations: 12.47 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.144, allocations: 4 kB / 1.123 GB, free: 39.46 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 () * 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 7.151e-05/1.144, allocations: 145.1 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/1.144, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/1.144, allocations: 8.031 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.144, allocations: 1.125 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.144, allocations: 0.9375 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.144, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/1.144, allocations: 174 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.144, allocations: 4.562 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/1.145, allocations: 4 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/1.145, allocations: 4 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.145, allocations: 4.719 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.145, allocations: 0.5 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.145, allocations: 0 / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/1.145, allocations: 246.7 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/1.145, allocations: 77.86 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/1.145, allocations: 0.5 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/1.145, allocations: 15.36 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/1.145, allocations: 10.81 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/1.145, allocations: 0.9375 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.914e-05/1.145, allocations: 94.2 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.145, allocations: 0 / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000315/1.145, allocations: 67.25 kB / 1.123 GB, free: 38.61 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) * 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.0002973/1.146, allocations: 168.5 kB / 1.123 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000261/1.146, allocations: 224.1 kB / 1.124 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.146, allocations: 4 kB / 1.124 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/1.146, allocations: 104.5 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/1.146, allocations: 5.188 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/1.146, allocations: 127.5 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/1.147, allocations: 0.6913 MB / 1.125 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.565e-05/1.147, allocations: 0 / 1.125 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/1.147, allocations: 8.094 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.147, allocations: 4.062 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.003869/1.151, allocations: 1.594 MB / 1.126 GB, free: 36.45 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)