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.001017/0.001017, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.00109/0.00109, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.24/1.24, 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.002079/0.002079, allocations: 295.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8865/0.8865, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 92.27 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002387/0.1557, allocations: 1.423 MB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.1563, allocations: 351.6 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.1563, allocations: 0 / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.1564, allocations: 0 / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.1564, allocations: 3.938 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1568, allocations: 107.7 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.1569, allocations: 15.94 kB / 0.6834 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.1569, allocations: 11.98 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.157, allocations: 4 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.157, allocations: 15.92 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.157, allocations: 4 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1572, allocations: 119.8 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1573, allocations: 4 kB / 0.6836 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1573, allocations: 15.92 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1574, allocations: 91.73 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1574, allocations: 0 / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1575, allocations: 4 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1575, allocations: 0 / 0.6837 GB, free: 5.281 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.0003957/0.1579, allocations: 351.5 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1579, allocations: 8.031 kB / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.1579, allocations: 8.844 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1581, allocations: 160.4 kB / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1581, allocations: 384 / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1581, allocations: 384 / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1582, allocations: 58.17 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1582, allocations: 192 / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1583, allocations: 3.938 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1583, allocations: 4 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1584, allocations: 35.95 kB / 0.6843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1587, allocations: 240.9 kB / 0.6845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1588, allocations: 46.53 kB / 0.6846 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.1589, allocations: 24.91 kB / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.1595, allocations: 461.4 kB / 0.685 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1596, allocations: 34.56 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1596, allocations: 3.938 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002981/0.1599, allocations: 77.64 kB / 0.6852 GB, free: 3.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1599, allocations: 51.41 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.16, allocations: 102 kB / 0.6853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.16, allocations: 29.7 kB / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.1601, allocations: 88.03 kB / 0.6854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1601, allocations: 4 kB / 0.6854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1601, allocations: 17.66 kB / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1602, allocations: 310.8 kB / 0.6857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.1603, allocations: 19.92 kB / 0.6857 GB, free: 2.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1604, allocations: 23.97 kB / 0.6858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1605, allocations: 32.83 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1605, allocations: 0 / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.1607, allocations: 77.5 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1607, allocations: 4 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1607, allocations: 4 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1607, allocations: 4.094 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1608, allocations: 7.984 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1608, allocations: 3.984 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.1609, allocations: 7.938 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1609, allocations: 192 / 0.6859 GB, free: 2.703 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 6.807e-05/0.1609, allocations: 117.7 kB / 0.686 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.161, allocations: 3.984 kB / 0.686 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1612, allocations: 80.77 kB / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1612, allocations: 0 / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1612, allocations: 0 / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1612, allocations: 0 / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1613, allocations: 157.6 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1613, allocations: 0 / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.1614, allocations: 11.98 kB / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1614, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1614, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1614, allocations: 4.031 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1614, allocations: 0 / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1616, allocations: 167.4 kB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.1617, allocations: 81.02 kB / 0.6865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1617, allocations: 3.938 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1618, allocations: 7.984 kB / 0.6865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1618, allocations: 8.031 kB / 0.6865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1618, allocations: 4 kB / 0.6865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.1618, allocations: 87.27 kB / 0.6866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1619, allocations: 0 / 0.6866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1621, allocations: 28 kB / 0.6866 GB, free: 1.855 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.0002145/0.1623, allocations: 135.2 kB / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1625, allocations: 39.89 kB / 0.6868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1625, allocations: 0 / 0.6868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1626, allocations: 20.05 kB / 0.6868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1628, allocations: 15.94 kB / 0.6868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.1631, allocations: 97.61 kB / 0.6869 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1633, allocations: 0.6768 MB / 0.6876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.1633, allocations: 0 / 0.6876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1634, allocations: 11.44 kB / 0.6876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1634, allocations: 0 / 0.6876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of Templates: time 0.2283/0.3917, allocations: 0.8839 MB / 0.6885 GB, free: 17.75 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)