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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 107.3 kB / 17.04 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 195 kB / 17.98 MB, free: 5.16 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.25/1.25, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.05 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001773/0.3202, allocations: 0.6041 MB / 0.5582 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3216, allocations: 1.377 MB / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.3216, allocations: 2.594 kB / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.3217, allocations: 5.719 kB / 0.5595 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.3217, allocations: 3.25 kB / 0.5595 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3223, allocations: 180 kB / 0.5597 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3224, allocations: 54.78 kB / 0.5597 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.3225, allocations: 2.625 kB / 0.5598 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.3225, allocations: 25.17 kB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.3226, allocations: 28.27 kB / 0.5598 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3226, allocations: 2.781 kB / 0.5598 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.3229, allocations: 198.5 kB / 0.56 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.323, allocations: 13.47 kB / 0.56 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.323, allocations: 25.45 kB / 0.56 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3233, allocations: 187.2 kB / 0.5602 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3233, allocations: 1.312 kB / 0.5602 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3233, allocations: 2.109 kB / 0.5602 GB, free: 35.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3233, allocations: 0 / 0.5602 GB, free: 35.01 MB / 446.1 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.0003429/0.3237, allocations: 440.9 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3237, allocations: 9.031 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.3238, allocations: 8.438 kB / 0.5606 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.3239, allocations: 177.9 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3239, allocations: 1.875 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3239, allocations: 3.938 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3241, allocations: 97.64 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3241, allocations: 0.75 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3241, allocations: 1.188 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3241, allocations: 1.062 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.3242, allocations: 61.66 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.3243, allocations: 175.9 kB / 0.5611 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3244, allocations: 87.72 kB / 0.5612 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.3245, allocations: 66.38 kB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3245, allocations: 1.5 kB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3246, allocations: 35.2 kB / 0.5613 GB, free: 34.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.3246, allocations: 0 / 0.5613 GB, free: 34.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003536/0.3249, allocations: 256.4 kB / 0.5616 GB, free: 33.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.325, allocations: 82.3 kB / 0.5617 GB, free: 33.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.3251, allocations: 150.2 kB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3251, allocations: 31.53 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.3251, allocations: 89.69 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3252, allocations: 10.83 kB / 0.5619 GB, free: 33.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3252, allocations: 29.77 kB / 0.5619 GB, free: 33.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.3253, allocations: 319.1 kB / 0.5623 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3254, allocations: 104.2 kB / 0.5624 GB, free: 33.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3255, allocations: 101.7 kB / 0.5625 GB, free: 33.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3258, allocations: 275.8 kB / 0.5627 GB, free: 33.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3258, allocations: 0 / 0.5627 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003196/0.3261, allocations: 323.1 kB / 0.563 GB, free: 32.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.3261, allocations: 72.77 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3262, allocations: 2.406 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3262, allocations: 8.578 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3262, allocations: 0 / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3262, allocations: 1.875 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3263, allocations: 11.47 kB / 0.5631 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3263, allocations: 4.531 kB / 0.5631 GB, free: 32.9 MB / 446.1 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 7.948e-05/0.3264, allocations: 158.4 kB / 0.5633 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3265, allocations: 11.59 kB / 0.5633 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.3265, allocations: 6.953 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3265, allocations: 1.406 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3265, allocations: 0 / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3265, allocations: 0 / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.725e-05/0.3266, allocations: 173.2 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3266, allocations: 0.6562 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.3266, allocations: 6.469 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3266, allocations: 4 kB / 0.5635 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3266, allocations: 3.188 kB / 0.5635 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3266, allocations: 0 / 0.5635 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3266, allocations: 2.906 kB / 0.5635 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3269, allocations: 234 kB / 0.5637 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.3269, allocations: 90.8 kB / 0.5638 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3269, allocations: 2.312 kB / 0.5638 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.327, allocations: 9.984 kB / 0.5638 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.327, allocations: 10.31 kB / 0.5638 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.327, allocations: 4 kB / 0.5638 GB, free: 32.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.409e-05/0.3271, allocations: 110.9 kB / 0.5639 GB, free: 32.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3271, allocations: 0 / 0.5639 GB, free: 32.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3274, allocations: 66.11 kB / 0.564 GB, free: 32.21 MB / 446.1 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.0002341/0.3277, allocations: 149.7 kB / 0.5641 GB, free: 32.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.328, allocations: 369 kB / 0.5645 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.328, allocations: 1.938 kB / 0.5645 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3281, allocations: 138.7 kB / 0.5646 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3283, allocations: 4.141 kB / 0.5646 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.3286, allocations: 216.2 kB / 0.5648 GB, free: 31.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3287, allocations: 0.6924 MB / 0.5655 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.019e-06/0.3288, allocations: 0.9688 kB / 0.5655 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.3288, allocations: 12.56 kB / 0.5655 GB, free: 31.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3288, allocations: 0 / 0.5655 GB, free: 31.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004669/0.3334, allocations: 2.035 MB / 0.5675 GB, free: 30.93 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)