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.005386/0.005387, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001253/0.001253, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 283.1 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1619, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002457/0.1644, allocations: 1.423 MB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.1651, allocations: 335.8 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.1651, allocations: 3.938 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1651, allocations: 7.922 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.1652, allocations: 7.938 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.1657, allocations: 103.7 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.1657, allocations: 23.92 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.1658, allocations: 8 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.1658, allocations: 11.97 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.1659, allocations: 7.938 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1659, allocations: 4 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1661, allocations: 119.8 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.1662, allocations: 11.92 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1662, allocations: 7.938 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1664, allocations: 87.75 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1664, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1664, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1664, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB 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.0004218/0.1668, allocations: 359.2 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1669, allocations: 8.031 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.1669, allocations: 8.938 kB / 0.7688 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.167, allocations: 168.3 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.167, allocations: 384 / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.167, allocations: 8.375 kB / 0.769 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1672, allocations: 50.23 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1672, allocations: 192 / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1672, allocations: 3.938 kB / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1672, allocations: 0 / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1674, allocations: 31.95 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.1677, allocations: 256.9 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1678, allocations: 42.48 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.1679, allocations: 24.89 kB / 0.7694 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/0.1686, allocations: 457.5 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1686, allocations: 34.56 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.1686, allocations: 0 / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.1689, allocations: 81.58 kB / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.169, allocations: 59.53 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.169, allocations: 97.84 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1691, allocations: 25.7 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.1691, allocations: 88.08 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.1691, allocations: 3.953 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1692, allocations: 13.72 kB / 0.7702 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1693, allocations: 318.8 kB / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.1693, allocations: 15.98 kB / 0.7706 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.1694, allocations: 19.98 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1696, allocations: 40.81 kB / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1696, allocations: 0 / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.1698, allocations: 65.55 kB / 0.7707 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1698, allocations: 12.09 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1698, allocations: 0 / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1698, allocations: 0 / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.1699, allocations: 7.984 kB / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1699, allocations: 0 / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.17, allocations: 7.984 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.17, allocations: 7.938 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB 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.169e-05/0.17, allocations: 114.4 kB / 0.7708 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1701, allocations: 3.953 kB / 0.7708 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.1703, allocations: 80.7 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1705, allocations: 165.6 kB / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1705, allocations: 0 / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.1705, allocations: 11.98 kB / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1705, allocations: 32 / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1706, allocations: 4 kB / 0.7711 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1706, allocations: 0 / 0.7711 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.1706, allocations: 4 kB / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1708, allocations: 163.5 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1708, allocations: 77.11 kB / 0.7713 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1709, allocations: 4 kB / 0.7713 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.1709, allocations: 8.016 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.171, allocations: 8 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.171, allocations: 0 / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.171, allocations: 83.22 kB / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.171, allocations: 3.938 kB / 0.7714 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002497/0.1713, allocations: 31.92 kB / 0.7714 GB, free: 2.836 MB / 0.5606 GB 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.000215/0.1715, allocations: 135.1 kB / 0.7716 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1717, allocations: 31.97 kB / 0.7716 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1717, allocations: 4 kB / 0.7716 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1718, allocations: 24.03 kB / 0.7716 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.172, allocations: 7.938 kB / 0.7716 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.1723, allocations: 109.4 kB / 0.7717 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1725, allocations: 0.6729 MB / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.1725, allocations: 0 / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1725, allocations: 11.44 kB / 0.7724 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1725, allocations: 4.062 kB / 0.7724 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.00283/0.1754, allocations: 0.9001 MB / 0.7733 GB, free: 0.8789 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)