Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4858/0.4858, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 109.2 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 52.16 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.378, allocations: 70.07 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001836/0.3799, allocations: 0.6531 MB / 0.5581 GB, free: 44.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3817, allocations: 1.415 MB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.3817, allocations: 0 / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.3818, allocations: 0 / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.3819, allocations: 4 kB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.3824, allocations: 140.2 kB / 0.5597 GB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.272e-05/0.3824, allocations: 43.89 kB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.3825, allocations: 7.984 kB / 0.5597 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.3825, allocations: 15.98 kB / 0.5597 GB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.3826, allocations: 31.89 kB / 0.5598 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3826, allocations: 8 kB / 0.5598 GB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.3829, allocations: 187.7 kB / 0.5599 GB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.3829, allocations: 11.94 kB / 0.56 GB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.3829, allocations: 27.86 kB / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3831, allocations: 187.6 kB / 0.5602 GB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3832, allocations: 3.938 kB / 0.5602 GB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3832, allocations: 0 / 0.5602 GB, free: 42.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.3832, allocations: 0 / 0.5602 GB, free: 42.45 MB / 410.7 MB 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.000341/0.3835, allocations: 448.7 kB / 0.5606 GB, free: 41.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3836, allocations: 8.031 kB / 0.5606 GB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.3836, allocations: 8.938 kB / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.3837, allocations: 168.3 kB / 0.5608 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3837, allocations: 4.375 kB / 0.5608 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3837, allocations: 4.375 kB / 0.5608 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3839, allocations: 101.9 kB / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3839, allocations: 0 / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3839, allocations: 0 / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3839, allocations: 0 / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.384, allocations: 63.89 kB / 0.5609 GB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.3841, allocations: 181.5 kB / 0.5611 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.3842, allocations: 86.47 kB / 0.5612 GB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3842, allocations: 68.88 kB / 0.5613 GB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3843, allocations: 0 / 0.5613 GB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3843, allocations: 34.5 kB / 0.5613 GB, free: 41.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3843, allocations: 4 kB / 0.5613 GB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003395/0.3846, allocations: 251.1 kB / 0.5615 GB, free: 40.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3847, allocations: 89.14 kB / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3848, allocations: 143.7 kB / 0.5618 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3848, allocations: 25.7 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.3849, allocations: 88.14 kB / 0.5619 GB, free: 40.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3849, allocations: 15.8 kB / 0.5619 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3849, allocations: 25.72 kB / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.385, allocations: 318.8 kB / 0.5622 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.3851, allocations: 99.94 kB / 0.5623 GB, free: 40.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.3852, allocations: 107.9 kB / 0.5624 GB, free: 39.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3854, allocations: 281.7 kB / 0.5627 GB, free: 39.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3854, allocations: 0 / 0.5627 GB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002473/0.3856, allocations: 328.7 kB / 0.563 GB, free: 39.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.3857, allocations: 67.39 kB / 0.5631 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3857, allocations: 0 / 0.5631 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3857, allocations: 0 / 0.5631 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3857, allocations: 0 / 0.5631 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3857, allocations: 3.984 kB / 0.5631 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3858, allocations: 23.83 kB / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3859, allocations: 8 kB / 0.5631 GB, free: 39.17 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.386, allocations: 151.5 kB / 0.5632 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.386, allocations: 7.938 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.386, allocations: 4.25 kB / 0.5632 GB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.386, allocations: 0 / 0.5632 GB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.386, allocations: 0 / 0.5632 GB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.386, allocations: 0 / 0.5632 GB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.3861, allocations: 177.5 kB / 0.5634 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3861, allocations: 0 / 0.5634 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-06/0.3861, allocations: 7.938 kB / 0.5634 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3861, allocations: 0 / 0.5634 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3861, allocations: 4 kB / 0.5634 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3861, allocations: 7.922 kB / 0.5634 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3861, allocations: 0 / 0.5634 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3866, allocations: 0.8755 MB / 0.5643 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.3866, allocations: 85.05 kB / 0.5644 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3866, allocations: 8 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.3867, allocations: 4 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.3867, allocations: 15.92 kB / 0.5644 GB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.3868, allocations: 0 / 0.5644 GB, free: 37.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.3868, allocations: 108.8 kB / 0.5645 GB, free: 37.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3868, allocations: 0 / 0.5645 GB, free: 37.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.3872, allocations: 71.92 kB / 0.5646 GB, free: 37.5 MB / 410.7 MB 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 (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.000233/0.3874, allocations: 147.2 kB / 0.5647 GB, free: 37.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3877, allocations: 370.6 kB / 0.5651 GB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3877, allocations: 0 / 0.5651 GB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.3878, allocations: 131.4 kB / 0.5652 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.388, allocations: 14.17 kB / 0.5652 GB, free: 36.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.3883, allocations: 334.3 kB / 0.5655 GB, free: 36.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3885, allocations: 0.6965 MB / 0.5662 GB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.15e-05/0.3885, allocations: 3.938 kB / 0.5662 GB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-06/0.3885, allocations: 7.438 kB / 0.5662 GB, free: 35.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3885, allocations: 0 / 0.5662 GB, free: 35.71 MB / 410.7 MB Notification: Performance of Templates: time 0.003643/0.3921, allocations: 1.983 MB / 0.5681 GB, free: 33.73 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)