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.001166/0.001166, allocations: 109.1 kB / 16.52 MB, free: 6.266 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.001219/0.001219, allocations: 197 kB / 17.44 MB, free: 5.887 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 493.6 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3789, allocations: 76.17 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001787/0.3807, allocations: 0.6634 MB / 0.557 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3824, allocations: 1.416 MB / 0.5584 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.3824, allocations: 0 / 0.5584 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.3825, allocations: 3.031 kB / 0.5584 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.3825, allocations: 4.547 kB / 0.5584 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.383, allocations: 135.4 kB / 0.5586 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.3831, allocations: 46.22 kB / 0.5586 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3831, allocations: 7 kB / 0.5586 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.3832, allocations: 14.95 kB / 0.5586 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.3832, allocations: 25.27 kB / 0.5586 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3833, allocations: 4.531 kB / 0.5587 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.3836, allocations: 192.6 kB / 0.5588 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.3836, allocations: 13.3 kB / 0.5588 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.3837, allocations: 20.89 kB / 0.5589 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3839, allocations: 124.8 kB / 0.559 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.384, allocations: 2.672 kB / 0.559 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.384, allocations: 0 / 0.559 GB, free: 34.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.384, allocations: 0 / 0.559 GB, free: 34.8 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.0004806/0.3845, allocations: 441.5 kB / 0.5594 GB, free: 34.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3845, allocations: 13.41 kB / 0.5594 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3846, allocations: 8.078 kB / 0.5594 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3847, allocations: 179.5 kB / 0.5596 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3848, allocations: 2.438 kB / 0.5596 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3848, allocations: 5.859 kB / 0.5596 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.385, allocations: 97.42 kB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.385, allocations: 0 / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3851, allocations: 5.891 kB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3851, allocations: 0 / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3852, allocations: 61.17 kB / 0.5598 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3853, allocations: 181.6 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3855, allocations: 86.7 kB / 0.56 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3856, allocations: 67.92 kB / 0.5601 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3856, allocations: 0 / 0.5601 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3856, allocations: 38.11 kB / 0.5601 GB, free: 33.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3856, allocations: 0 / 0.5601 GB, free: 33.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004107/0.3861, allocations: 252.5 kB / 0.5604 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3861, allocations: 82.59 kB / 0.5604 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3862, allocations: 153.5 kB / 0.5606 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3862, allocations: 27.66 kB / 0.5606 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.3863, allocations: 89 kB / 0.5607 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3863, allocations: 7.016 kB / 0.5607 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.3864, allocations: 28.61 kB / 0.5607 GB, free: 33.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.3864, allocations: 321 kB / 0.561 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3866, allocations: 101.5 kB / 0.5611 GB, free: 33.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3867, allocations: 103 kB / 0.5612 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.387, allocations: 275 kB / 0.5615 GB, free: 32.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.387, allocations: 0 / 0.5615 GB, free: 32.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003563/0.3873, allocations: 326.9 kB / 0.5618 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.3874, allocations: 72.67 kB / 0.5619 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3874, allocations: 0 / 0.5619 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3874, allocations: 5.062 kB / 0.5619 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.3874, allocations: 0.7969 kB / 0.5619 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3875, allocations: 1.281 kB / 0.5619 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3876, allocations: 15.12 kB / 0.5619 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3876, allocations: 3.234 kB / 0.5619 GB, free: 32.68 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 8.838e-05/0.3877, allocations: 153.7 kB / 0.5621 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.3878, allocations: 12.22 kB / 0.5621 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.3878, allocations: 6.75 kB / 0.5621 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3878, allocations: 1.906 kB / 0.5621 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3878, allocations: 0 / 0.5621 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3878, allocations: 0.75 kB / 0.5621 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.3879, allocations: 172.9 kB / 0.5622 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3879, allocations: 8.406 kB / 0.5622 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.3879, allocations: 9.953 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3879, allocations: 0.9688 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3879, allocations: 2.219 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3879, allocations: 2.438 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3879, allocations: 1.062 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3882, allocations: 229 kB / 0.5625 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3882, allocations: 88.22 kB / 0.5626 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3883, allocations: 2.266 kB / 0.5626 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.3883, allocations: 5.375 kB / 0.5626 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3884, allocations: 12.11 kB / 0.5626 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3884, allocations: 2.062 kB / 0.5626 GB, free: 32.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.821e-05/0.3885, allocations: 110 kB / 0.5627 GB, free: 32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3885, allocations: 0.7812 kB / 0.5627 GB, free: 32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.3888, allocations: 66.62 kB / 0.5628 GB, free: 31.99 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.0002723/0.3891, allocations: 155.4 kB / 0.5629 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.3895, allocations: 367.7 kB / 0.5633 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3895, allocations: 2.031 kB / 0.5633 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3897, allocations: 136.9 kB / 0.5634 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3898, allocations: 9.609 kB / 0.5634 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.3902, allocations: 250.3 kB / 0.5636 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3903, allocations: 0.6928 MB / 0.5643 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-06/0.3903, allocations: 8.594 kB / 0.5643 GB, free: 30.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3903, allocations: 0 / 0.5643 GB, free: 30.75 MB / 446.1 MB Notification: Performance of Templates: time 0.003822/0.3942, allocations: 1.663 MB / 0.5659 GB, free: 30.68 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)