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: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 279 kB / 290.6 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9313/0.9313, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001713, allocations: 94.97 kB / 0.5952 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 86.99 MB / 0.6802 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.00172/0.1564, allocations: 0.6144 MB / 0.6808 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.158, allocations: 1.384 MB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.1581, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.1581, allocations: 3.938 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.1582, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.1588, allocations: 187.5 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.159, allocations: 43.97 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.159, allocations: 4.281 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.1591, allocations: 19.97 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.1591, allocations: 27.91 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1591, allocations: 4 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.1595, allocations: 195.7 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.1595, allocations: 15.94 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.1596, allocations: 23.84 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1598, allocations: 191.5 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1598, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1598, allocations: 4 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1599, allocations: 4 kB / 0.6828 GB, free: 13.99 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.0004554/0.1603, allocations: 434.7 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1604, allocations: 12.03 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1604, allocations: 4.844 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1605, allocations: 176.2 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1606, allocations: 4.375 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.1606, allocations: 4.375 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1607, allocations: 97.89 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1608, allocations: 8 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1608, allocations: 0 / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1608, allocations: 3.984 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.1609, allocations: 63.89 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.161, allocations: 173.6 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1611, allocations: 74.53 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.1612, allocations: 72.89 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.1612, allocations: 0 / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1613, allocations: 42.48 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1613, allocations: 0 / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003485/0.1616, allocations: 255.1 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1617, allocations: 81.11 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1618, allocations: 144.4 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1618, allocations: 29.7 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.1619, allocations: 92.14 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1619, allocations: 7.891 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.162, allocations: 29.75 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.1621, allocations: 322.8 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1622, allocations: 99.94 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1623, allocations: 103.9 kB / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1625, allocations: 273.9 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1625, allocations: 0 / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000317/0.1629, allocations: 336.6 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.1629, allocations: 71.39 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1629, allocations: 4.062 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.163, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.163, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.163, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1631, allocations: 11.84 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1631, allocations: 7.984 kB / 0.6857 GB, free: 10.73 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 9.484e-05/0.1632, allocations: 152.8 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.1632, allocations: 11.84 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.1633, allocations: 8.391 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1633, allocations: 7.984 kB / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1633, allocations: 0 / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1633, allocations: 3.938 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.1634, allocations: 177.6 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1634, allocations: 0 / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.1634, allocations: 7.938 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1634, allocations: 0 / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1634, allocations: 4 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1634, allocations: 0 / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1634, allocations: 0 / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1637, allocations: 234.6 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.1637, allocations: 84.95 kB / 0.6864 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1637, allocations: 7.984 kB / 0.6864 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.1638, allocations: 0 / 0.6864 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1638, allocations: 11.98 kB / 0.6864 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1639, allocations: 4 kB / 0.6864 GB, free: 9.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.271e-05/0.1639, allocations: 99.27 kB / 0.6865 GB, free: 9.812 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1639, allocations: 0 / 0.6865 GB, free: 9.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1642, allocations: 72.02 kB / 0.6866 GB, free: 9.742 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.0002371/0.1644, allocations: 143.2 kB / 0.6867 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.1648, allocations: 374.6 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1648, allocations: 0 / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1649, allocations: 139.3 kB / 0.6872 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.1651, allocations: 8 kB / 0.6872 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1655, allocations: 217.7 kB / 0.6874 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.1657, allocations: 0.6885 MB / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.971e-06/0.1657, allocations: 0 / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-06/0.1657, allocations: 7.438 kB / 0.6881 GB, free: 8.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1657, allocations: 0 / 0.6881 GB, free: 8.082 MB / 494.1 MB Notification: Performance of Templates: time 0.004281/0.17, allocations: 2.05 MB / 0.6901 GB, free: 6.039 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)