Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001611/0.001611, allocations: 181.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 101.5 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007366/0.0007372, allocations: 18.14 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2601, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007859/0.2609, allocations: 353.8 kB / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.263, allocations: 1.369 MB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2631, allocations: 0 / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.478e-05/0.2632, allocations: 7.984 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.2632, allocations: 3.938 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.264, allocations: 127.7 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.264, allocations: 27.95 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.2641, allocations: 4 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.2641, allocations: 19.98 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.2642, allocations: 23.91 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2643, allocations: 4 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.2646, allocations: 167.7 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.2646, allocations: 11.98 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2647, allocations: 37.64 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.2649, allocations: 128 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2649, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2649, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.265, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 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.0003654/0.2653, allocations: 430.6 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2654, allocations: 12.03 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.2654, allocations: 7.906 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2656, allocations: 176.7 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2656, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.2656, allocations: 4 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2658, allocations: 93.64 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2659, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2659, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2659, allocations: 4 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.266, allocations: 63.89 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.2662, allocations: 181.5 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.2663, allocations: 78.53 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-06/0.2664, allocations: 0 / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2664, allocations: 34.59 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.2664, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005574/0.267, allocations: 340.2 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.267, allocations: 77.11 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2671, allocations: 147.5 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2672, allocations: 29.64 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2672, allocations: 88.14 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2673, allocations: 15.81 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.2673, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.2673, allocations: 326.8 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.2675, allocations: 107.9 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2677, allocations: 103.9 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.2679, allocations: 155.3 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2679, allocations: 0 / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004611/0.2684, allocations: 332.8 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.2685, allocations: 71.38 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2685, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2685, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.2685, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2685, allocations: 4 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2687, allocations: 20.05 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2688, allocations: 8 kB / 0.9832 GB, free: 22.94 MB / 0.6198 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 0.0001047/0.2689, allocations: 147.5 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.2689, allocations: 7.984 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.2689, allocations: 12.23 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.269, allocations: 0 / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.269, allocations: 0 / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.269, allocations: 0 / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2691, allocations: 181.5 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2691, allocations: 4 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.2691, allocations: 0 / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2691, allocations: 0 / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2691, allocations: 4 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2692, allocations: 0 / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2692, allocations: 0 / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.2695, allocations: 230.7 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.2696, allocations: 84.97 kB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2696, allocations: 8.031 kB / 0.9838 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.2697, allocations: 4 kB / 0.9838 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.2698, allocations: 15.91 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2698, allocations: 0 / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.2699, allocations: 109 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2699, allocations: 0 / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004053/0.2703, allocations: 60 kB / 0.984 GB, free: 21.98 MB / 0.6198 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0003197/0.2706, allocations: 151.2 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.2712, allocations: 374.6 kB / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2712, allocations: 0 / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2714, allocations: 143.2 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2715, allocations: 4 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.2719, allocations: 211.5 kB / 0.9849 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2721, allocations: 0.6965 MB / 0.9855 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.931e-06/0.2721, allocations: 0 / 0.9855 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.2721, allocations: 7.438 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2721, allocations: 0 / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.005679/0.2778, allocations: 1.87 MB / 0.9874 GB, free: 18.45 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)