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.00101/0.00101, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001005/0.001005, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 296.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8934/0.8934, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 97.98 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001688/0.1573, allocations: 0.5993 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1589, allocations: 1.384 MB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.1589, allocations: 0 / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.775e-05/0.159, allocations: 0 / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.159, allocations: 11.88 kB / 0.6836 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.1596, allocations: 178.5 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1597, allocations: 55.94 kB / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.1597, allocations: 0 / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.1598, allocations: 19.98 kB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.1598, allocations: 23.91 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1599, allocations: 4 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1602, allocations: 203.7 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1602, allocations: 15.92 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.1603, allocations: 27.86 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1605, allocations: 191.4 kB / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1605, allocations: 0 / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1605, allocations: 0 / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1605, allocations: 0 / 0.6842 GB, free: 4.738 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.000387/0.1609, allocations: 438.7 kB / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.161, allocations: 8.031 kB / 0.6847 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.161, allocations: 8.844 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1611, allocations: 180.2 kB / 0.6848 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1611, allocations: 4.375 kB / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1611, allocations: 384 / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1613, allocations: 97.95 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1613, allocations: 3.938 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1613, allocations: 8 kB / 0.685 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1613, allocations: 0 / 0.685 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.1614, allocations: 63.89 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1616, allocations: 177.6 kB / 0.6852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1617, allocations: 78.53 kB / 0.6853 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.1618, allocations: 68.89 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.1618, allocations: 4 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1618, allocations: 34.5 kB / 0.6854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1618, allocations: 0 / 0.6854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003692/0.1622, allocations: 263.1 kB / 0.6856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1623, allocations: 77.11 kB / 0.6857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1624, allocations: 148 kB / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1624, allocations: 29.7 kB / 0.6859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.1624, allocations: 88.05 kB / 0.6859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1625, allocations: 11.91 kB / 0.686 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1625, allocations: 29.7 kB / 0.686 GB, free: 2.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1626, allocations: 318.8 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1628, allocations: 99.94 kB / 0.6864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1629, allocations: 99.94 kB / 0.6865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1631, allocations: 285.9 kB / 0.6868 GB, free: 1.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1632, allocations: 4 kB / 0.6868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000321/0.1635, allocations: 324.7 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.1635, allocations: 75.38 kB / 0.6871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1636, allocations: 4 kB / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1636, allocations: 0 / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1636, allocations: 0 / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1636, allocations: 3.984 kB / 0.6871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1637, allocations: 11.84 kB / 0.6872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1637, allocations: 4 kB / 0.6872 GB, free: 1.461 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.0001073/0.1638, allocations: 159.5 kB / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1639, allocations: 15.78 kB / 0.6873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.1639, allocations: 8.25 kB / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1639, allocations: 4 kB / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1639, allocations: 0 / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1639, allocations: 0 / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.164, allocations: 173.6 kB / 0.6875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.164, allocations: 0 / 0.6875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-06/0.164, allocations: 3.938 kB / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.164, allocations: 4 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1641, allocations: 0 / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1641, allocations: 4 kB / 0.6875 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1641, allocations: 0 / 0.6875 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1643, allocations: 230.6 kB / 0.6877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1644, allocations: 88.95 kB / 0.6878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1644, allocations: 0 / 0.6878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.1644, allocations: 7.984 kB / 0.6878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1645, allocations: 8.031 kB / 0.6878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1645, allocations: 4 kB / 0.6878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.1646, allocations: 110.1 kB / 0.6879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1646, allocations: 0 / 0.6879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1649, allocations: 67.98 kB / 0.688 GB, free: 488 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.0002364/0.1651, allocations: 147.2 kB / 0.6881 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2254/0.3906, allocations: 371.8 kB / 0.6885 GB, free: 18.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.3906, allocations: 1.438 kB / 0.6885 GB, free: 18.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3908, allocations: 137.5 kB / 0.6886 GB, free: 18.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.391, allocations: 6.25 kB / 0.6886 GB, free: 18.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3915, allocations: 206.3 kB / 0.6888 GB, free: 18.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3916, allocations: 0.6918 MB / 0.6895 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.3916, allocations: 1.062 kB / 0.6895 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-06/0.3916, allocations: 8.188 kB / 0.6895 GB, free: 17.59 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3917, allocations: 0 / 0.6895 GB, free: 17.59 MB / 494.1 MB Notification: Performance of Templates: time 0.004872/0.3965, allocations: 2.05 MB / 0.6915 GB, free: 17.54 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)