Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.05 kB / 0.912 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3444, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00181/0.3463, allocations: 0.6127 MB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.348, allocations: 1.39 MB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.3481, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.3481, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.3482, allocations: 3.938 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.3488, allocations: 179.6 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.3489, allocations: 47.97 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.349, allocations: 7.984 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.349, allocations: 19.92 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.3491, allocations: 19.97 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3491, allocations: 4 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.3494, allocations: 203.7 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.3495, allocations: 11.94 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.3495, allocations: 19.86 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3498, allocations: 191.8 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3498, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3498, allocations: 4 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3498, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 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.0004822/0.3503, allocations: 446.6 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3503, allocations: 12.03 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3504, allocations: 4.844 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3505, allocations: 176.2 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3505, allocations: 4.375 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3506, allocations: 4.375 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3507, allocations: 97.94 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3508, allocations: 8 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3508, allocations: 3.938 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3508, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.3509, allocations: 63.89 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3511, allocations: 169.7 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3513, allocations: 82.52 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.3514, allocations: 68.89 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.3514, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3514, allocations: 38.5 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3514, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004093/0.3518, allocations: 255.1 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.352, allocations: 85.11 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3521, allocations: 146.9 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3521, allocations: 29.7 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3522, allocations: 92.12 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.3522, allocations: 7.812 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.3523, allocations: 29.75 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3524, allocations: 322.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3525, allocations: 103.9 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3527, allocations: 99.94 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.353, allocations: 277.8 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.353, allocations: 7.938 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000339/0.3533, allocations: 320.9 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.3534, allocations: 68.8 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3534, allocations: 4.062 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3534, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3534, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3534, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3536, allocations: 19.77 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3536, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3538, allocations: 152.1 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3538, allocations: 11.84 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.3538, allocations: 8.25 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3538, allocations: 4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3538, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3538, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.354, allocations: 173.6 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.354, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-06/0.354, allocations: 3.938 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.354, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.354, allocations: 11.92 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.354, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.354, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.3543, allocations: 222.7 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3544, allocations: 92.94 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3544, allocations: 7.938 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.3545, allocations: 4 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.3546, allocations: 8.125 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3546, allocations: 4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.3546, allocations: 108.8 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3546, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002991/0.355, allocations: 64.03 kB / 1.075 GB, free: 3.418 MB / 0.8262 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 (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.0002854/0.3552, allocations: 159.2 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.3557, allocations: 370.6 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3557, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3559, allocations: 139.3 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3561, allocations: 8.047 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3564, allocations: 219.7 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3567, allocations: 0.6963 MB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.22e-06/0.3567, allocations: 3.938 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.006e-05/0.3567, allocations: 7.438 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3567, allocations: 0 / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.004596/0.3613, allocations: 2.052 MB / 1.078 GB, free: 15.69 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)