Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001337/0.001337, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 290.4 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.11/1.11, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 98.03 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1594, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001693/0.1611, allocations: 0.6418 MB / 0.6936 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.1617, allocations: 311.8 kB / 0.6939 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-06/0.1617, allocations: 0 / 0.6939 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1617, allocations: 2.344 kB / 0.6939 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.1618, allocations: 0 / 0.6939 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1622, allocations: 91.8 kB / 0.694 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.624e-05/0.1622, allocations: 0 / 0.694 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.918e-05/0.1623, allocations: 3.984 kB / 0.694 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.048e-05/0.1623, allocations: 0 / 0.694 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.445e-05/0.1623, allocations: 1.875 kB / 0.694 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1623, allocations: 4 kB / 0.694 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.1626, allocations: 143.6 kB / 0.6942 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1626, allocations: 0 / 0.6942 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1626, allocations: 3.984 kB / 0.6942 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1628, allocations: 71.89 kB / 0.6942 GB, free: 3.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1628, allocations: 7.984 kB / 0.6942 GB, free: 3.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1628, allocations: 0 / 0.6942 GB, free: 3.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1628, allocations: 0 / 0.6942 GB, free: 3.426 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003159/0.1631, allocations: 323.6 kB / 0.6945 GB, free: 3.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1632, allocations: 8.031 kB / 0.6945 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1632, allocations: 4.875 kB / 0.6946 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1633, allocations: 168.3 kB / 0.6947 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1633, allocations: 4.375 kB / 0.6947 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.1633, allocations: 384 / 0.6947 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.1634, allocations: 30.27 kB / 0.6947 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1634, allocations: 192 / 0.6947 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1634, allocations: 3.938 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1634, allocations: 0 / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.1635, allocations: 4 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.1636, allocations: 149.7 kB / 0.6949 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.1637, allocations: 18.61 kB / 0.6949 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1637, allocations: 16.84 kB / 0.6949 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008158/0.1645, allocations: 469.5 kB / 0.6954 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1645, allocations: 38.56 kB / 0.6954 GB, free: 1.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.1645, allocations: 0 / 0.6954 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.1647, allocations: 37.62 kB / 0.6955 GB, free: 1.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1647, allocations: 55.34 kB / 0.6955 GB, free: 1.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1648, allocations: 93.86 kB / 0.6956 GB, free: 1.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1648, allocations: 25.7 kB / 0.6956 GB, free: 1.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.1648, allocations: 80.14 kB / 0.6957 GB, free: 1.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1649, allocations: 3.906 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1649, allocations: 17.84 kB / 0.6957 GB, free: 1.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.165, allocations: 310.8 kB / 0.696 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.1651, allocations: 0 / 0.696 GB, free: 1.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.1651, allocations: 4 kB / 0.696 GB, free: 1.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.1651, allocations: 4.859 kB / 0.696 GB, free: 1.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1651, allocations: 0 / 0.696 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.673e-05/0.1652, allocations: 41.69 kB / 0.6961 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1652, allocations: 5.719 kB / 0.6961 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1652, allocations: 4.094 kB / 0.6961 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1652, allocations: 7.875 kB / 0.6961 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.1652, allocations: 0 / 0.6961 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1653, allocations: 4 kB / 0.6961 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-06/0.1653, allocations: 3.938 kB / 0.6961 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1653, allocations: 0 / 0.6961 GB, free: 1.211 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 (1): * Single equations (assignments): 1 * 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 7.451e-05/0.1654, allocations: 105.8 kB / 0.6962 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.1654, allocations: 0 / 0.6962 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.1654, allocations: 52.69 kB / 0.6962 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1654, allocations: 0 / 0.6962 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1655, allocations: 4 kB / 0.6962 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1655, allocations: 0 / 0.6962 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1656, allocations: 146 kB / 0.6964 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1656, allocations: 0 / 0.6964 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.1656, allocations: 0 / 0.6964 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1656, allocations: 4 kB / 0.6964 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1656, allocations: 7.938 kB / 0.6964 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1656, allocations: 3.938 kB / 0.6964 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1656, allocations: 0 / 0.6964 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.425e-05/0.1657, allocations: 57.17 kB / 0.6964 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.1658, allocations: 85.09 kB / 0.6965 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.1658, allocations: 3.938 kB / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.1658, allocations: 0 / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1658, allocations: 0 / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1658, allocations: 0 / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.716e-05/0.1658, allocations: 75.28 kB / 0.6966 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1658, allocations: 4.031 kB / 0.6966 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1661, allocations: 28 kB / 0.6966 GB, free: 0.5469 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 (1): * Single equations (assignments): 1 * 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.0002515/0.1663, allocations: 139.1 kB / 0.6968 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.622e-05/0.1664, allocations: 11.94 kB / 0.6968 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1664, allocations: 0 / 0.6968 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.1664, allocations: 8 kB / 0.6968 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.1665, allocations: 0 / 0.6968 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001434/0.1667, allocations: 69.08 kB / 0.6969 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.167, allocations: 0.6729 MB / 0.6975 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.806e-06/0.167, allocations: 0 / 0.6975 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.167, allocations: 7.438 kB / 0.6975 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.167, allocations: 4.125 kB / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.002805/0.1699, allocations: 0.6484 MB / 0.6982 GB, free: 14.93 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)