Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.001093/0.001093, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001089/0.001089, allocations: 192.2 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 251.6 MB / 0.5089 GB, free: 3.227 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 71.91 kB / 0.6218 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5689, allocations: 104.7 MB / 0.724 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00269/0.5716, allocations: 1.503 MB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.573, allocations: 0.8235 MB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.573, allocations: 0 / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.5731, allocations: 3.984 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.5732, allocations: 3.938 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.5738, allocations: 159 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.5739, allocations: 47.97 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.574, allocations: 4 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.574, allocations: 19.92 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.5741, allocations: 19.92 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.5741, allocations: 4 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.5744, allocations: 203.7 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.5745, allocations: 15.92 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.5745, allocations: 19.88 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.5748, allocations: 183.6 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5748, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5748, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5748, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 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.0004844/0.5753, allocations: 434.7 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5753, allocations: 12.03 kB / 0.7274 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.5754, allocations: 4.844 kB / 0.7274 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5755, allocations: 168.3 kB / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5755, allocations: 4.375 kB / 0.7275 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.5755, allocations: 4.375 kB / 0.7275 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5757, allocations: 81.91 kB / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.5757, allocations: 0 / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5758, allocations: 4 kB / 0.7276 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5758, allocations: 4 kB / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.5759, allocations: 47.91 kB / 0.7277 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.5763, allocations: 284.7 kB / 0.7279 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5764, allocations: 62.48 kB / 0.728 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.5765, allocations: 44.91 kB / 0.728 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.5765, allocations: 4 kB / 0.728 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5766, allocations: 30.56 kB / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5766, allocations: 0 / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.5769, allocations: 179.3 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.577, allocations: 89.09 kB / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.5771, allocations: 117.8 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5771, allocations: 25.7 kB / 0.7285 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.5772, allocations: 100 kB / 0.7286 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.5772, allocations: 7.844 kB / 0.7286 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.5773, allocations: 25.72 kB / 0.7286 GB, free: 8.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5774, allocations: 326.8 kB / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.5775, allocations: 55.97 kB / 0.729 GB, free: 7.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.5776, allocations: 55.97 kB / 0.729 GB, free: 7.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5778, allocations: 201.8 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5778, allocations: 0 / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002605/0.578, allocations: 217.3 kB / 0.7294 GB, free: 7.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.5781, allocations: 59.41 kB / 0.7295 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5781, allocations: 3.984 kB / 0.7295 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5781, allocations: 4 kB / 0.7295 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.5782, allocations: 7.984 kB / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5782, allocations: 0 / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.5782, allocations: 15.83 kB / 0.7295 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5783, allocations: 4 kB / 0.7295 GB, free: 7.102 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.5784, allocations: 151.5 kB / 0.7296 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.5784, allocations: 4 kB / 0.7296 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.5784, allocations: 3.906 kB / 0.7296 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5784, allocations: 4 kB / 0.7297 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5785, allocations: 0 / 0.7297 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5785, allocations: 0 / 0.7297 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5786, allocations: 181.5 kB / 0.7298 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5787, allocations: 0 / 0.7298 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.5787, allocations: 3.984 kB / 0.7298 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5787, allocations: 4 kB / 0.7298 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5787, allocations: 4 kB / 0.7298 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5787, allocations: 0 / 0.7298 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5787, allocations: 0 / 0.7298 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.579, allocations: 253 kB / 0.7301 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.579, allocations: 81.02 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5791, allocations: 7.875 kB / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.5791, allocations: 7.984 kB / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.5792, allocations: 8 kB / 0.7302 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.5792, allocations: 4 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.5793, allocations: 95.64 kB / 0.7303 GB, free: 6.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5793, allocations: 4.031 kB / 0.7303 GB, free: 6.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.5796, allocations: 67.98 kB / 0.7303 GB, free: 6.125 MB / 0.545 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 (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.0002621/0.5799, allocations: 147.2 kB / 0.7305 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.5802, allocations: 238.7 kB / 0.7307 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5802, allocations: 0 / 0.7307 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.5803, allocations: 103.4 kB / 0.7308 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5806, allocations: 8 kB / 0.7308 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.5809, allocations: 189.4 kB / 0.731 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5812, allocations: 0.6807 MB / 0.7317 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.5812, allocations: 4 kB / 0.7317 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.5812, allocations: 11.44 kB / 0.7317 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5813, allocations: 0 / 0.7317 GB, free: 4.66 MB / 0.545 GB Notification: Performance of Templates: time 0.00372/0.585, allocations: 1.695 MB / 0.7333 GB, free: 3.004 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)