Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008646/0.0008649, allocations: 177.7 kB / 327.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007276/0.0007276, allocations: 92.22 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 15.28 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 106.3 MB / 0.9012 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.3171, allocations: 132.6 MB / 1.031 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.3174, allocations: 83.92 kB / 1.031 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009105/0.3265, allocations: 3.211 MB / 1.034 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3265, allocations: 0 / 1.034 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3265, allocations: 0 / 1.034 GB, free: 8.039 MB / 0.6823 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.0003781/0.3269, allocations: 442.6 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.327, allocations: 12.02 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.327, allocations: 12.84 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3271, allocations: 176.2 kB / 1.035 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3271, allocations: 4.375 kB / 1.035 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3272, allocations: 384 / 1.035 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3273, allocations: 98.14 kB / 1.035 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.3273, allocations: 192 / 1.035 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3274, allocations: 7.938 kB / 1.035 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3274, allocations: 0 / 1.035 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.3275, allocations: 59.95 kB / 1.035 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.3276, allocations: 177.7 kB / 1.035 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3277, allocations: 78.53 kB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.3278, allocations: 68.89 kB / 1.035 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.3278, allocations: 0 / 1.035 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3279, allocations: 38.5 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3279, allocations: 0 / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003496/0.3282, allocations: 255.1 kB / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3283, allocations: 85.14 kB / 1.035 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3284, allocations: 145.7 kB / 1.036 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3284, allocations: 25.7 kB / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.3285, allocations: 88.14 kB / 1.036 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3285, allocations: 15.75 kB / 1.036 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.3285, allocations: 0 / 1.036 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3286, allocations: 322.8 kB / 1.036 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3287, allocations: 95.92 kB / 1.036 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3288, allocations: 95.94 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3291, allocations: 281.8 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3291, allocations: 0 / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003154/0.3294, allocations: 308.9 kB / 1.037 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.3295, allocations: 75.33 kB / 1.037 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3295, allocations: 4 kB / 1.037 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3295, allocations: 0 / 1.037 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3295, allocations: 0 / 1.037 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3295, allocations: 0 / 1.037 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.3296, allocations: 15.98 kB / 1.037 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3296, allocations: 7.984 kB / 1.037 GB, free: 4.816 MB / 0.6823 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 9.361e-05/0.3297, allocations: 159.4 kB / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.3298, allocations: 15.83 kB / 1.037 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.3298, allocations: 8.25 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3298, allocations: 0 / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3298, allocations: 4 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3298, allocations: 4 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3299, allocations: 165.6 kB / 1.037 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3299, allocations: 7.938 kB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3299, allocations: 0 / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3299, allocations: 7.938 kB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.33, allocations: 4 kB / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.33, allocations: 0 / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.33, allocations: 7.984 kB / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3302, allocations: 218.7 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3303, allocations: 89 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3303, allocations: 3.938 kB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.3304, allocations: 8.031 kB / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.3304, allocations: 7.984 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3304, allocations: 8 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.3305, allocations: 105.9 kB / 1.038 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 0 / 1.038 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002922/0.3308, allocations: 75.94 kB / 1.038 GB, free: 3.824 MB / 0.6823 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.0002826/0.3311, allocations: 155.2 kB / 1.038 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.3315, allocations: 374.5 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3315, allocations: 4 kB / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3316, allocations: 135.3 kB / 1.038 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3318, allocations: 5.891 kB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.3321, allocations: 210.6 kB / 1.038 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3323, allocations: 0.6928 MB / 1.039 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.34e-06/0.3323, allocations: 4 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-06/0.3323, allocations: 7.438 kB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.3324, allocations: 0 / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of Templates: time 0.004036/0.3364, allocations: 1.853 MB / 1.041 GB, free: 316 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)