Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 279.2 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.5 MB / 0.5072 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 102.9 kB / 0.6064 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1682, allocations: 89.15 MB / 0.6935 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001746/0.17, allocations: 0.5809 MB / 0.6941 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.1706, allocations: 289.8 kB / 0.6943 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.055e-05/0.1706, allocations: 0 / 0.6943 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1706, allocations: 1.438 kB / 0.6943 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.1707, allocations: 0 / 0.6943 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.1711, allocations: 95.66 kB / 0.6944 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.1711, allocations: 7.938 kB / 0.6944 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1712, allocations: 10.89 kB / 0.6945 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.1712, allocations: 0 / 0.6945 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.768e-05/0.1712, allocations: 0 / 0.6945 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-06/0.1712, allocations: 0 / 0.6945 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1715, allocations: 115.8 kB / 0.6946 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-06/0.1715, allocations: 0 / 0.6946 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.1715, allocations: 4 kB / 0.6946 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1717, allocations: 71.88 kB / 0.6946 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1717, allocations: 4 kB / 0.6946 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1717, allocations: 0 / 0.6946 GB, free: 3.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1717, allocations: 0 / 0.6946 GB, free: 3.176 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.0003366/0.1721, allocations: 323.6 kB / 0.6949 GB, free: 2.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1721, allocations: 8.031 kB / 0.695 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1721, allocations: 8.922 kB / 0.695 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1723, allocations: 172.2 kB / 0.6951 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1723, allocations: 384 / 0.6951 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1723, allocations: 4.312 kB / 0.6951 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.1724, allocations: 30.27 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1724, allocations: 192 / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1724, allocations: 7.938 kB / 0.6952 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1724, allocations: 0 / 0.6952 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.1724, allocations: 0 / 0.6952 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1726, allocations: 149.7 kB / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.1727, allocations: 24.56 kB / 0.6953 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.1727, allocations: 4.859 kB / 0.6953 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007784/0.1735, allocations: 461.5 kB / 0.6958 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1735, allocations: 34.56 kB / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.1735, allocations: 0 / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.1736, allocations: 37.64 kB / 0.6959 GB, free: 1.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1737, allocations: 51.41 kB / 0.6959 GB, free: 1.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1737, allocations: 89.86 kB / 0.696 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1738, allocations: 25.7 kB / 0.696 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.1738, allocations: 80.14 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1738, allocations: 7.844 kB / 0.6961 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1739, allocations: 17.72 kB / 0.6961 GB, free: 1.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.174, allocations: 314.8 kB / 0.6964 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.174, allocations: 4.125 kB / 0.6964 GB, free: 1.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.174, allocations: 4 kB / 0.6964 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.1741, allocations: 4.859 kB / 0.6964 GB, free: 1.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1741, allocations: 0 / 0.6964 GB, free: 1.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.723e-05/0.1741, allocations: 37.7 kB / 0.6965 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1742, allocations: 4 kB / 0.6965 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1742, allocations: 0 / 0.6965 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1742, allocations: 3.938 kB / 0.6965 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.1742, allocations: 4.094 kB / 0.6965 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1742, allocations: 11.94 kB / 0.6965 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.1743, allocations: 3.984 kB / 0.6965 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1743, allocations: 0 / 0.6965 GB, free: 0.9688 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 8.316e-05/0.1744, allocations: 105.8 kB / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.1744, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.1744, allocations: 40.7 kB / 0.6966 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1745, allocations: 0 / 0.6966 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1745, allocations: 4 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1745, allocations: 8.016 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1746, allocations: 146 kB / 0.6968 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1746, allocations: 0 / 0.6968 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.1746, allocations: 0 / 0.6968 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1746, allocations: 4 kB / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1746, allocations: 7.875 kB / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1746, allocations: 0 / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1746, allocations: 0 / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.924e-05/0.1747, allocations: 61.06 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.1748, allocations: 85.11 kB / 0.6969 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1748, allocations: 3.938 kB / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.1748, allocations: 0 / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.1748, allocations: 0 / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.1748, allocations: 0 / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.1749, allocations: 75.28 kB / 0.697 GB, free: 348 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1749, allocations: 0 / 0.697 GB, free: 348 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1751, allocations: 35.98 kB / 0.697 GB, free: 312 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: 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.0002698/0.1754, allocations: 139.2 kB / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.751e-05/0.1754, allocations: 7.938 kB / 0.6972 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1755, allocations: 0 / 0.6972 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.1755, allocations: 8.062 kB / 0.6972 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1756, allocations: 0 / 0.6972 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.1758, allocations: 81.06 kB / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1761, allocations: 0.669 MB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.1761, allocations: 0 / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.1761, allocations: 7.438 kB / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1761, allocations: 0 / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002929/0.1791, allocations: 0.6353 MB / 0.6985 GB, free: 14.7 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)