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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005508/0.005508, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005316, allocations: 14.97 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008927/0.2073, allocations: 359.4 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2093, allocations: 1.437 MB / 0.7896 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.2094, allocations: 0 / 0.7896 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.2095, allocations: 0 / 0.7896 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.2095, allocations: 11.86 kB / 0.7896 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.2101, allocations: 142.6 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.2102, allocations: 35.97 kB / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2103, allocations: 0 / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.2103, allocations: 27.91 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.2104, allocations: 23.91 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2104, allocations: 7.938 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.2107, allocations: 191.7 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.2108, allocations: 11.98 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.2108, allocations: 57.48 kB / 0.7901 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2111, allocations: 183.8 kB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2111, allocations: 0 / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2111, allocations: 4 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2111, allocations: 0 / 0.7903 GB, free: 9.051 MB / 0.6075 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.0003714/0.2115, allocations: 426.8 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2115, allocations: 12.03 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.2116, allocations: 4.844 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2117, allocations: 183 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2117, allocations: 384 / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2117, allocations: 4.375 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2119, allocations: 101.9 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.2119, allocations: 4 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2119, allocations: 0 / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2119, allocations: 0 / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.2121, allocations: 59.95 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2122, allocations: 173.7 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2123, allocations: 78.53 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.2124, allocations: 68.89 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.2125, allocations: 0 / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2125, allocations: 42.44 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2125, allocations: 0 / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003881/0.2129, allocations: 251.3 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2129, allocations: 85.09 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2131, allocations: 137.8 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2131, allocations: 33.7 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.2132, allocations: 96.03 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2132, allocations: 7.938 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2133, allocations: 25.7 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2134, allocations: 318.8 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.2135, allocations: 107.9 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2136, allocations: 99.94 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.2139, allocations: 281.8 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2139, allocations: 3.938 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003356/0.2143, allocations: 320.8 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.2143, allocations: 71.39 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2143, allocations: 8.047 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.2143, allocations: 0 / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.2143, allocations: 3.984 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2144, allocations: 4 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2145, allocations: 11.84 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.2145, allocations: 4 kB / 0.7932 GB, free: 5.797 MB / 0.6075 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.00013/0.2147, allocations: 152.2 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2147, allocations: 11.84 kB / 0.7934 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.2147, allocations: 4.25 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2147, allocations: 7.984 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2147, allocations: 4 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2147, allocations: 0 / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2149, allocations: 173.6 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2149, allocations: 7.984 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/0.2149, allocations: 3.938 kB / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2149, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2149, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2149, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2149, allocations: 4 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2152, allocations: 226.6 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2153, allocations: 88.95 kB / 0.7938 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2153, allocations: 4 kB / 0.7939 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.2154, allocations: 4 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2155, allocations: 11.98 kB / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.2155, allocations: 4 kB / 0.7939 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.2155, allocations: 106.4 kB / 0.794 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2155, allocations: 4.031 kB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002747/0.2158, allocations: 64 kB / 0.794 GB, free: 4.82 MB / 0.6075 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.0002696/0.2161, allocations: 151.2 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2165, allocations: 374.6 kB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2165, allocations: 0 / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2166, allocations: 135.3 kB / 0.7947 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2168, allocations: 11.94 kB / 0.7947 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2171, allocations: 219.7 kB / 0.7949 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2175, allocations: 0.6926 MB / 0.7956 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.161e-06/0.2176, allocations: 0 / 0.7956 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-06/0.2176, allocations: 7.438 kB / 0.7956 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.2176, allocations: 0 / 0.7956 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.004784/0.2224, allocations: 1.917 MB / 0.7974 GB, free: 1.242 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: