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.001163/0.001163, allocations: 116.8 kB / 17.09 MB, free: 5.965 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.001137/0.001137, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.3 MB / 407.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 74.3 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.18 MB / 0.6328 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001676/0.1671, allocations: 0.6 MB / 0.6334 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.169, allocations: 1.381 MB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.169, allocations: 4 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.1691, allocations: 7.938 kB / 0.6347 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.1692, allocations: 0 / 0.6347 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.1698, allocations: 182.5 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.17, allocations: 47.89 kB / 0.6349 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.17, allocations: 11.92 kB / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.1701, allocations: 15.98 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.1701, allocations: 23.91 kB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1702, allocations: 4 kB / 0.635 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1705, allocations: 199.7 kB / 0.6352 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1706, allocations: 11.98 kB / 0.6352 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1706, allocations: 31.8 kB / 0.6352 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1709, allocations: 183.5 kB / 0.6354 GB, free: 1.637 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1709, allocations: 4 kB / 0.6354 GB, free: 1.633 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1709, allocations: 0 / 0.6354 GB, free: 1.633 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1709, allocations: 4 kB / 0.6354 GB, free: 1.629 MB / 478.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.000452/0.1714, allocations: 434.7 kB / 0.6358 GB, free: 1.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1714, allocations: 12.03 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1714, allocations: 4.844 kB / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1716, allocations: 180.2 kB / 0.636 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1716, allocations: 8.312 kB / 0.636 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1716, allocations: 8.359 kB / 0.636 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1718, allocations: 97.95 kB / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1718, allocations: 0 / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1718, allocations: 0 / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1719, allocations: 0 / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.1719, allocations: 59.95 kB / 0.6362 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1721, allocations: 173.7 kB / 0.6364 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1722, allocations: 82.47 kB / 0.6364 GB, free: 440 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.1723, allocations: 72.89 kB / 0.6365 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.1723, allocations: 0 / 0.6365 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1724, allocations: 38.44 kB / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1724, allocations: 0 / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.000383/0.1728, allocations: 255.2 kB / 0.6368 GB, free: 48 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1728, allocations: 81.11 kB / 0.6369 GB, free: 15.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.173, allocations: 147.4 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.173, allocations: 37.67 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.1731, allocations: 96.12 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1731, allocations: 7.812 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1731, allocations: 29.7 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1733, allocations: 326.8 kB / 0.6375 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1734, allocations: 99.94 kB / 0.6376 GB, free: 15.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1735, allocations: 99.94 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1738, allocations: 277.7 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1738, allocations: 4.031 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003544/0.1742, allocations: 324.8 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.1743, allocations: 75.38 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1743, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1743, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1743, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1743, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1745, allocations: 15.84 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1745, allocations: 3.938 kB / 0.6383 GB, free: 14.35 MB / 494.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 0.0001588/0.1747, allocations: 160.2 kB / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1747, allocations: 11.84 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1748, allocations: 8.25 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1748, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1748, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1748, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.175, allocations: 173.6 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.175, allocations: 0 / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.175, allocations: 3.938 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.175, allocations: 0 / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.175, allocations: 4 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.175, allocations: 4 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.175, allocations: 0 / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1753, allocations: 226.6 kB / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1754, allocations: 84.95 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1754, allocations: 4 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.1755, allocations: 3.984 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.1755, allocations: 12.08 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1756, allocations: 12.02 kB / 0.639 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.771e-05/0.1757, allocations: 108.8 kB / 0.6391 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 3.938 kB / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.176, allocations: 67.98 kB / 0.6392 GB, free: 13.37 MB / 494.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.0003286/0.1763, allocations: 143.2 kB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.1768, allocations: 374.6 kB / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1768, allocations: 0 / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.177, allocations: 139.4 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1771, allocations: 4 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.1776, allocations: 239.4 kB / 0.64 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1779, allocations: 0.6923 MB / 0.6407 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.1779, allocations: 7.438 kB / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1779, allocations: 0 / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Templates: time 0.003499/0.1814, allocations: 1.673 MB / 0.6424 GB, free: 10.01 MB / 494.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)