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.008314/0.008314, allocations: 102 kB / 15.73 MB, free: 6.438 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.002066/0.002066, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.495/1.495, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.58/1.58, allocations: 251.7 MB / 0.5094 GB, free: 3.129 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.00162/0.00162, allocations: 77.77 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2324, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00299/0.2354, allocations: 1.434 MB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2369, allocations: 0.8274 MB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.237, allocations: 0 / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.2371, allocations: 4 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.2371, allocations: 3.938 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.2379, allocations: 174.6 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2381, allocations: 47.97 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.2382, allocations: 0 / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.2382, allocations: 19.92 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.2383, allocations: 15.98 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2383, allocations: 11.94 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.2387, allocations: 211.6 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.2388, allocations: 11.94 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.2388, allocations: 23.86 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.2392, allocations: 183.6 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2392, allocations: 0 / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2392, allocations: 0 / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2392, allocations: 0 / 0.8309 GB, free: 13.21 MB / 0.6544 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.0005842/0.2398, allocations: 430.7 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2398, allocations: 12.03 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.2399, allocations: 8.844 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.24, allocations: 172.3 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2401, allocations: 4.359 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2401, allocations: 4.375 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2403, allocations: 77.92 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2403, allocations: 3.938 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2403, allocations: 3.984 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2403, allocations: 4 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2405, allocations: 51.97 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.2409, allocations: 276.8 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.241, allocations: 62.5 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.2411, allocations: 44.91 kB / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2411, allocations: 4 kB / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2412, allocations: 34.56 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2412, allocations: 0 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003829/0.2416, allocations: 179.3 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.2416, allocations: 85.11 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2417, allocations: 121.8 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2418, allocations: 25.7 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.2418, allocations: 95.98 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2419, allocations: 7.891 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.2419, allocations: 29.73 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.242, allocations: 314.8 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2422, allocations: 59.95 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.2423, allocations: 55.97 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.2425, allocations: 197.8 kB / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2425, allocations: 0 / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/0.2428, allocations: 209 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.2429, allocations: 71.39 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2429, allocations: 4.062 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2429, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.243, allocations: 7.938 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.243, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.243, allocations: 19.77 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2431, allocations: 7.984 kB / 0.8335 GB, free: 10.29 MB / 0.6544 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.0001175/0.2432, allocations: 151.5 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.2432, allocations: 4 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.2432, allocations: 11.84 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.2433, allocations: 0 / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2433, allocations: 0 / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2433, allocations: 0 / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.2434, allocations: 177.6 kB / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2435, allocations: 0 / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.2435, allocations: 0 / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2435, allocations: 0 / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.2435, allocations: 4 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.2435, allocations: 3.984 kB / 0.8338 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2435, allocations: 4 kB / 0.8339 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.2439, allocations: 257.2 kB / 0.8341 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.2439, allocations: 85 kB / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2439, allocations: 0 / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.244, allocations: 4 kB / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2442, allocations: 11.98 kB / 0.8342 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.2442, allocations: 8.031 kB / 0.8342 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.2442, allocations: 91.27 kB / 0.8343 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2442, allocations: 0 / 0.8343 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003395/0.2446, allocations: 67.98 kB / 0.8344 GB, free: 9.316 MB / 0.6544 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.0002914/0.2449, allocations: 143.2 kB / 0.8345 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.2453, allocations: 242.7 kB / 0.8347 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2453, allocations: 0 / 0.8347 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2454, allocations: 111.3 kB / 0.8348 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.2456, allocations: 3.938 kB / 0.8348 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.2461, allocations: 169.6 kB / 0.835 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2463, allocations: 0.6883 MB / 0.8357 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.2464, allocations: 0 / 0.8357 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.2464, allocations: 11.38 kB / 0.8357 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.2464, allocations: 0 / 0.8357 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.004433/0.2508, allocations: 1.769 MB / 0.8374 GB, free: 6.133 MB / 0.6544 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)