Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.0012/0.001199, allocations: 183 kB / 371.6 MB, free: 3.371 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.613/1.613, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008794/0.0008794, allocations: 95.23 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.721e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8084/1.08, allocations: 139.8 MB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.08, allocations: 82.64 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009163/1.09, allocations: 3.167 MB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/1.09, allocations: 0 / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.09, allocations: 0 / 1.119 GB, free: 42.21 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.0003298/1.09, allocations: 432.8 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.09, allocations: 8.031 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/1.09, allocations: 12.52 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.09, allocations: 167.8 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.09, allocations: 0 / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/1.09, allocations: 11.27 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/1.09, allocations: 96.39 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.09, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.09, allocations: 1.828 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.09, allocations: 4 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/1.091, allocations: 62.03 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/1.091, allocations: 179.6 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/1.091, allocations: 79 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/1.091, allocations: 73.41 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/1.091, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.091, allocations: 31.06 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/1.091, allocations: 4 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002757/1.091, allocations: 188.5 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/1.091, allocations: 86.86 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/1.091, allocations: 131.4 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/1.091, allocations: 25.7 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/1.091, allocations: 94.23 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/1.091, allocations: 12.84 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/1.091, allocations: 0 / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.091, allocations: 322.2 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/1.092, allocations: 96.58 kB / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/1.092, allocations: 95.86 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/1.092, allocations: 159.4 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.092, allocations: 0 / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002779/1.092, allocations: 316.2 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/1.092, allocations: 70.8 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.092, allocations: 0 / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.092, allocations: 4 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/1.092, allocations: 0.5625 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.092, allocations: 3.891 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/1.092, allocations: 15.78 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/1.092, allocations: 8 kB / 1.122 GB, free: 39.56 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 (i) * Number of discrete 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 7.049e-05/1.092, allocations: 139.7 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/1.092, allocations: 15.86 kB / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/1.092, allocations: 4.688 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.092, allocations: 1.406 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.092, allocations: 0.5 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.092, allocations: 0 / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/1.093, allocations: 179 kB / 1.122 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.093, allocations: 0.5625 kB / 1.122 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.093, allocations: 0 / 1.122 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.093, allocations: 8.609 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.093, allocations: 0 / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.093, allocations: 0.6875 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.093, allocations: 4 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/1.093, allocations: 228.9 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/1.093, allocations: 85.02 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.093, allocations: 3.953 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/1.093, allocations: 8.688 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.093, allocations: 9.016 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/1.093, allocations: 4 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.802e-05/1.093, allocations: 112.2 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.473e-06/1.093, allocations: 0 / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003403/1.093, allocations: 79.88 kB / 1.123 GB, free: 38.68 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 (i) * Number of discrete states: 1 (i) * 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.0003129/1.094, allocations: 158.6 kB / 1.123 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003434/1.094, allocations: 365.7 kB / 1.123 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.094, allocations: 0 / 1.123 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/1.094, allocations: 133.5 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/1.094, allocations: 13.14 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/1.095, allocations: 158 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/1.095, allocations: 0.6948 MB / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.853e-06/1.095, allocations: 0 / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/1.095, allocations: 7.438 kB / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.095, allocations: 0 / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.004104/1.099, allocations: 1.849 MB / 1.126 GB, free: 36.26 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)