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.001035/0.001035, allocations: 112.6 kB / 16.37 MB, free: 6 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.001017/0.001017, allocations: 196 kB / 17.31 MB, free: 5.613 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 296 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9094/0.9094, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 90.3 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1577, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.002056/0.1598, allocations: 0.6178 MB / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1616, allocations: 1.388 MB / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.1617, allocations: 0 / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.1618, allocations: 0 / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1618, allocations: 3.938 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.1625, allocations: 178.5 kB / 0.6837 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1626, allocations: 47.94 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1627, allocations: 4 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.1627, allocations: 23.92 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.1628, allocations: 23.97 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1628, allocations: 7.938 kB / 0.6838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.1632, allocations: 207.7 kB / 0.684 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.1633, allocations: 11.98 kB / 0.6841 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1633, allocations: 19.81 kB / 0.6841 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1636, allocations: 191.6 kB / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1636, allocations: 0 / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1636, allocations: 0 / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1636, allocations: 0 / 0.6843 GB, free: 4.695 MB / 494.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.0004623/0.1641, allocations: 442.7 kB / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1641, allocations: 12.02 kB / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1642, allocations: 8.844 kB / 0.6847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1643, allocations: 176.2 kB / 0.6849 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1643, allocations: 384 / 0.6849 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1644, allocations: 4.375 kB / 0.6849 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1645, allocations: 105.9 kB / 0.685 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.1645, allocations: 0 / 0.685 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1646, allocations: 0 / 0.685 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1646, allocations: 7.938 kB / 0.685 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.1647, allocations: 59.95 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1648, allocations: 177.6 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1649, allocations: 82.53 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.165, allocations: 64.89 kB / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-06/0.165, allocations: 0 / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1651, allocations: 38.44 kB / 0.6854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1651, allocations: 4 kB / 0.6854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003905/0.1655, allocations: 255.2 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1655, allocations: 81.11 kB / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1656, allocations: 141.8 kB / 0.6858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1657, allocations: 29.7 kB / 0.6859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.1657, allocations: 92.05 kB / 0.686 GB, free: 2.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1658, allocations: 3.906 kB / 0.686 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.1658, allocations: 29.7 kB / 0.686 GB, free: 2.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1659, allocations: 326.9 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1661, allocations: 99.94 kB / 0.6864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1662, allocations: 99.94 kB / 0.6865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1664, allocations: 285.7 kB / 0.6868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1665, allocations: 0 / 0.6868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003359/0.1668, allocations: 316.8 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.1669, allocations: 75.38 kB / 0.6871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1669, allocations: 0 / 0.6871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1669, allocations: 3.938 kB / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1669, allocations: 64 / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1669, allocations: 4 kB / 0.6871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.167, allocations: 19.84 kB / 0.6872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1671, allocations: 4 kB / 0.6872 GB, free: 1.418 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.0001058/0.1672, allocations: 151.5 kB / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1672, allocations: 11.83 kB / 0.6873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.1672, allocations: 8.25 kB / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1672, allocations: 0 / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1672, allocations: 0 / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1672, allocations: 4 kB / 0.6873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1674, allocations: 173.6 kB / 0.6875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1674, allocations: 7.938 kB / 0.6875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.1674, allocations: 3.938 kB / 0.6875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1674, allocations: 0 / 0.6875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1674, allocations: 4 kB / 0.6875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1674, allocations: 0 / 0.6875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1674, allocations: 0 / 0.6875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1677, allocations: 226.6 kB / 0.6877 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1677, allocations: 92.92 kB / 0.6878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1677, allocations: 4 kB / 0.6878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.1678, allocations: 4 kB / 0.6878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.1678, allocations: 11.98 kB / 0.6878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1679, allocations: 0 / 0.6878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.109e-05/0.1679, allocations: 113.6 kB / 0.688 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1679, allocations: 0 / 0.688 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1682, allocations: 63.98 kB / 0.688 GB, free: 452 kB / 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.0002756/0.1685, allocations: 155.2 kB / 0.6882 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2336/0.4021, allocations: 369.5 kB / 0.6885 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.4022, allocations: 0 / 0.6885 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4024, allocations: 134.4 kB / 0.6886 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4026, allocations: 9.938 kB / 0.6887 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.403, allocations: 208.1 kB / 0.6889 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4032, allocations: 0.692 MB / 0.6895 GB, free: 17.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.4032, allocations: 1.75 kB / 0.6895 GB, free: 17.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.4032, allocations: 8.938 kB / 0.6895 GB, free: 17.45 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4032, allocations: 0 / 0.6895 GB, free: 17.45 MB / 494.1 MB Notification: Performance of Templates: time 0.005062/0.4083, allocations: 2.052 MB / 0.6915 GB, free: 17.4 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)