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.001007/0.001007, 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.001034/0.001034, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 283 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9846/0.9846, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 90.53 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1684, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001847/0.1702, allocations: 0.6415 MB / 0.6803 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005572/0.1708, allocations: 293.3 kB / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-06/0.1708, allocations: 0.625 kB / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1709, allocations: 4 kB / 0.6806 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1709, allocations: 0 / 0.6806 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1713, allocations: 79.77 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.328e-05/0.1714, allocations: 7.984 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1714, allocations: 7.984 kB / 0.6806 GB, free: 48 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.1715, allocations: 0 / 0.6806 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.1715, allocations: 0 / 0.6806 GB, free: 48 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-06/0.1715, allocations: 0 / 0.6806 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.1717, allocations: 127.8 kB / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.1718, allocations: 0 / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1718, allocations: 4 kB / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1719, allocations: 75.83 kB / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1719, allocations: 0 / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.172, allocations: 0 / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.172, allocations: 0 / 0.6808 GB, free: 15.84 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.0002861/0.1723, allocations: 323.6 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1723, allocations: 12.03 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1723, allocations: 4.938 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.1724, allocations: 160.4 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1724, allocations: 4.312 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.1725, allocations: 8.359 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.1725, allocations: 30.27 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.1726, allocations: 192 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1726, allocations: 3.938 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1726, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.1726, allocations: 3.938 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1728, allocations: 141.7 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.1728, allocations: 22.61 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.1728, allocations: 16.78 kB / 0.6815 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.1736, allocations: 453.5 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1736, allocations: 38.55 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/0.1736, allocations: 4 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.1737, allocations: 41.56 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1738, allocations: 51.41 kB / 0.6821 GB, free: 14.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.822e-05/0.1738, allocations: 89.86 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1738, allocations: 25.7 kB / 0.6822 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.1739, allocations: 80.14 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1739, allocations: 4 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1739, allocations: 13.72 kB / 0.6823 GB, free: 14.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.174, allocations: 315 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.174, allocations: 0 / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.331e-05/0.174, allocations: 4 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.1741, allocations: 4.859 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1741, allocations: 0 / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.063e-05/0.1741, allocations: 41.62 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1742, allocations: 6.188 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1742, allocations: 4 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1742, allocations: 4.031 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.498e-05/0.1742, allocations: 8 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1742, allocations: 0 / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.1742, allocations: 288 / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1743, allocations: 0 / 0.6827 GB, free: 13.65 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 6.38e-05/0.1743, allocations: 110.5 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-06/0.1743, allocations: 4 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.1744, allocations: 52.53 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1744, allocations: 3.938 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1744, allocations: 4.031 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1744, allocations: 0 / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.909e-05/0.1745, allocations: 145.7 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1745, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.1746, allocations: 4 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1746, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1746, allocations: 7.938 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1746, allocations: 0 / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1746, allocations: 0 / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.188e-05/0.1747, allocations: 61.12 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.1747, allocations: 77.11 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1747, allocations: 3.938 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.1747, allocations: 0 / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1747, allocations: 0 / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.1747, allocations: 7.875 kB / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.1748, allocations: 79.28 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1748, allocations: 4 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.175, allocations: 24 kB / 0.6832 GB, free: 12.97 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.0002503/0.1753, allocations: 143.9 kB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.1753, allocations: 0 / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1754, allocations: 8.062 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-06/0.1754, allocations: 0 / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1755, allocations: 2.25 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.1757, allocations: 81.08 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1759, allocations: 0.6729 MB / 0.6841 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.072e-05/0.1759, allocations: 0 / 0.6841 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.1759, allocations: 7.438 kB / 0.6841 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1759, allocations: 7.938 kB / 0.6841 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Templates: time 0.002473/0.1784, allocations: 0.6295 MB / 0.6847 GB, free: 11.36 MB / 494.1 MB 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)