Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 102.4 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.001079/0.001079, allocations: 195.1 kB / 17.3 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.253/1.253, 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.001993/0.001993, allocations: 284.6 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.8762/0.8762, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 94.73 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.158, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002758/0.1608, allocations: 1.43 MB / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006036/0.1614, allocations: 343.7 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1614, allocations: 0 / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.1615, allocations: 3.938 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.1615, allocations: 7.984 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.162, allocations: 106.7 kB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.162, allocations: 19.97 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.1621, allocations: 11.98 kB / 0.6835 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.1622, allocations: 7.938 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.1622, allocations: 11.92 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1622, allocations: 4 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.1624, allocations: 127.8 kB / 0.6836 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1624, allocations: 4 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.1625, allocations: 7.938 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1627, allocations: 91.8 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1627, allocations: 0 / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1627, allocations: 0 / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1627, allocations: 0 / 0.6837 GB, free: 5.289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004042/0.1631, allocations: 351.5 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1631, allocations: 8.031 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1632, allocations: 8.844 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1633, allocations: 160.4 kB / 0.6842 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1633, allocations: 384 / 0.6842 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1633, allocations: 8.375 kB / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1635, allocations: 50.17 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1635, allocations: 4.188 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1635, allocations: 3.938 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1635, allocations: 0 / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1637, allocations: 31.95 kB / 0.6843 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1639, allocations: 249 kB / 0.6845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1641, allocations: 46.42 kB / 0.6846 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1642, allocations: 20.91 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/0.1648, allocations: 465.4 kB / 0.685 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1648, allocations: 34.56 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1648, allocations: 3.938 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003043/0.1651, allocations: 77.64 kB / 0.6852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1652, allocations: 55.53 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.1652, allocations: 101.8 kB / 0.6853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1653, allocations: 25.7 kB / 0.6853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.1653, allocations: 88.05 kB / 0.6854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.1653, allocations: 3.984 kB / 0.6854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1653, allocations: 13.72 kB / 0.6854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1655, allocations: 314.8 kB / 0.6857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.1655, allocations: 15.98 kB / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.1656, allocations: 19.98 kB / 0.6858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1657, allocations: 40.81 kB / 0.6858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1657, allocations: 0 / 0.6858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/0.1659, allocations: 69.5 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1659, allocations: 12.09 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1659, allocations: 0 / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.166, allocations: 7.875 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.166, allocations: 4 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.166, allocations: 0 / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.1661, allocations: 11.92 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1661, allocations: 4 kB / 0.6859 GB, free: 2.707 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.936e-05/0.1662, allocations: 113.8 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1662, allocations: 4 kB / 0.686 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1664, allocations: 72.77 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1664, allocations: 192 / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1664, allocations: 0 / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1664, allocations: 3.984 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1666, allocations: 157.6 kB / 0.6862 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1666, allocations: 4 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1667, allocations: 15.92 kB / 0.6863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1667, allocations: 4.031 kB / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1667, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1667, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1667, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1669, allocations: 163.5 kB / 0.6864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1669, allocations: 81.02 kB / 0.6865 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.167, allocations: 11.97 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.167, allocations: 3.984 kB / 0.6865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.1671, allocations: 4 kB / 0.6865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1671, allocations: 4 kB / 0.6865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.1671, allocations: 83.27 kB / 0.6866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1671, allocations: 0 / 0.6866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1674, allocations: 28 kB / 0.6866 GB, free: 1.867 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0002051/0.1676, allocations: 131.2 kB / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1678, allocations: 39.89 kB / 0.6868 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1678, allocations: 4.062 kB / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.1679, allocations: 19.98 kB / 0.6868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1681, allocations: 14.06 kB / 0.6868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.1683, allocations: 97.61 kB / 0.6869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1685, allocations: 0.6768 MB / 0.6876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.94e-05/0.1686, allocations: 4 kB / 0.6876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.1686, allocations: 11.5 kB / 0.6876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1686, allocations: 4 kB / 0.6876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Templates: time 0.2281/0.3967, allocations: 0.8798 MB / 0.6885 GB, free: 17.8 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)