Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004449/0.004449, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001094/0.001094, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001931/0.001931, allocations: 275.2 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1617, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.00156/0.1633, allocations: 0.6127 MB / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.165, allocations: 1.373 MB / 0.7684 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.165, allocations: 4 kB / 0.7684 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.1651, allocations: 0 / 0.7684 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.1651, allocations: 7.938 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1657, allocations: 179.6 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1658, allocations: 47.89 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.1659, allocations: 4 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.1659, allocations: 19.97 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.166, allocations: 31.84 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.166, allocations: 4 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.1663, allocations: 199.7 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.1664, allocations: 15.91 kB / 0.7689 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1664, allocations: 23.86 kB / 0.7689 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1667, allocations: 187.5 kB / 0.7691 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1667, allocations: 0 / 0.7691 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1667, allocations: 0 / 0.7691 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1667, allocations: 4 kB / 0.7691 GB, free: 5.711 MB / 0.5606 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.000411/0.1671, allocations: 442.6 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1672, allocations: 12.03 kB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1672, allocations: 0.9375 kB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1673, allocations: 182.6 kB / 0.7697 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1673, allocations: 4.359 kB / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1674, allocations: 4.375 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1675, allocations: 101.9 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1675, allocations: 0 / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1676, allocations: 0 / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1676, allocations: 0 / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.1677, allocations: 59.95 kB / 0.7698 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1678, allocations: 181.5 kB / 0.77 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1679, allocations: 82.53 kB / 0.7701 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.168, allocations: 76.83 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.168, allocations: 0 / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1681, allocations: 42.44 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1681, allocations: 0 / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003588/0.1684, allocations: 255.2 kB / 0.7704 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1685, allocations: 85.11 kB / 0.7705 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1686, allocations: 141.8 kB / 0.7707 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1686, allocations: 29.7 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1687, allocations: 92.12 kB / 0.7708 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1687, allocations: 7.812 kB / 0.7708 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.1688, allocations: 29.7 kB / 0.7708 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1689, allocations: 322.8 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.169, allocations: 103.9 kB / 0.7712 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1691, allocations: 107.9 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1694, allocations: 277.9 kB / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1694, allocations: 0 / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003255/0.1697, allocations: 328.8 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.1698, allocations: 71.38 kB / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1698, allocations: 0 / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1698, allocations: 0 / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1698, allocations: 0 / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1698, allocations: 0 / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.17, allocations: 15.84 kB / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.17, allocations: 0 / 0.772 GB, free: 2.43 MB / 0.5606 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.0001009/0.1701, allocations: 160.2 kB / 0.7721 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.1701, allocations: 7.938 kB / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.1702, allocations: 12.19 kB / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1702, allocations: 0 / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1702, allocations: 0 / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1702, allocations: 0 / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1703, allocations: 177.5 kB / 0.7723 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1703, allocations: 0 / 0.7723 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.1703, allocations: 3.938 kB / 0.7723 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1703, allocations: 4 kB / 0.7723 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1703, allocations: 4 kB / 0.7723 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1703, allocations: 0 / 0.7723 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1703, allocations: 3.938 kB / 0.7723 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1706, allocations: 222.7 kB / 0.7725 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1706, allocations: 85.09 kB / 0.7726 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1707, allocations: 4 kB / 0.7726 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.1707, allocations: 7.984 kB / 0.7726 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.1708, allocations: 12.02 kB / 0.7727 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1708, allocations: 4 kB / 0.7727 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.1709, allocations: 109.8 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.353e-06/0.1709, allocations: 0 / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002877/0.1712, allocations: 67.92 kB / 0.7728 GB, free: 1.453 MB / 0.5606 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.0002558/0.1714, allocations: 151.2 kB / 0.773 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1718, allocations: 366.6 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1718, allocations: 8.062 kB / 0.7733 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1719, allocations: 131.4 kB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1721, allocations: 7.984 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1725, allocations: 218 kB / 0.7737 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3209/0.4934, allocations: 0.6859 MB / 0.7743 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.4935, allocations: 2.875 kB / 0.7743 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.4935, allocations: 7.438 kB / 0.7743 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.001e-06/0.4935, allocations: 1.25 kB / 0.7743 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.004935/0.4984, allocations: 2.093 MB / 0.7764 GB, free: 15.25 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)