Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009817/0.0009819, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00163/0.00163, allocations: 263 kB / 291.3 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 0.9492/0.9492, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004604, allocations: 12.69 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1598, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.001521/0.1613, allocations: 1.14 MB / 0.6856 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.1619, allocations: 333.7 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.162, allocations: 0 / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.162, allocations: 0 / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.162, allocations: 4.5 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1624, allocations: 80.97 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.1624, allocations: 23.92 kB / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.609e-05/0.1625, allocations: 1.5 kB / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.1625, allocations: 4 kB / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.1626, allocations: 15.92 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1626, allocations: 0 / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.1628, allocations: 133 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.1628, allocations: 4 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.1629, allocations: 36.83 kB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.163, allocations: 55.89 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.163, allocations: 3.938 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1631, allocations: 0 / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1631, allocations: 0 / 0.6863 GB, free: 13.59 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.0004009/0.1635, allocations: 352.1 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1635, allocations: 12.59 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1635, allocations: 3.906 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.1636, allocations: 165.1 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1637, allocations: 4 kB / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.1637, allocations: 0 / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1638, allocations: 58.41 kB / 0.6868 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1639, allocations: 2.312 kB / 0.6868 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1639, allocations: 0 / 0.6868 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1639, allocations: 0 / 0.6868 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.164, allocations: 54.05 kB / 0.6869 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.1643, allocations: 252.9 kB / 0.6871 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1645, allocations: 45.09 kB / 0.6872 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.1645, allocations: 26.08 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.1652, allocations: 472.7 kB / 0.6876 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1652, allocations: 39.39 kB / 0.6877 GB, free: 11.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1652, allocations: 4 kB / 0.6877 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003057/0.1655, allocations: 93.59 kB / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1656, allocations: 59.48 kB / 0.6878 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.1657, allocations: 97.84 kB / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1657, allocations: 29.7 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.1657, allocations: 84.14 kB / 0.688 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.1657, allocations: 3.906 kB / 0.688 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.1657, allocations: 0 / 0.688 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.1658, allocations: 314.8 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.1659, allocations: 27.98 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.166, allocations: 15.98 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/0.1661, allocations: 23.98 kB / 0.6884 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1661, allocations: 64 / 0.6884 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/0.1662, allocations: 81.59 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1663, allocations: 4 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1663, allocations: 3.938 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1663, allocations: 4 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.1664, allocations: 16.02 kB / 0.6885 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1664, allocations: 0 / 0.6885 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1664, allocations: 15.88 kB / 0.6885 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1664, allocations: 4 kB / 0.6885 GB, free: 10.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.1665, allocations: 110.5 kB / 0.6886 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1665, allocations: 3.906 kB / 0.6886 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1667, allocations: 84.72 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1667, allocations: 0 / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1668, allocations: 0 / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1668, allocations: 4 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1669, allocations: 161.6 kB / 0.6889 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1669, allocations: 0 / 0.6889 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.167, allocations: 16.03 kB / 0.6889 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.167, allocations: 0 / 0.6889 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.167, allocations: 3.984 kB / 0.6889 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.167, allocations: 0 / 0.6889 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.167, allocations: 0 / 0.6889 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1672, allocations: 179.5 kB / 0.6891 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1672, allocations: 77.11 kB / 0.6891 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1673, allocations: 3.938 kB / 0.6891 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1673, allocations: 8 kB / 0.6891 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.1674, allocations: 7.922 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1674, allocations: 4 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.091e-05/0.1674, allocations: 87.48 kB / 0.6892 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1674, allocations: 0 / 0.6892 GB, free: 10.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1677, allocations: 28 kB / 0.6893 GB, free: 10.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.1679, allocations: 135.2 kB / 0.6894 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1681, allocations: 43.97 kB / 0.6894 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1681, allocations: 0 / 0.6894 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.1682, allocations: 28.05 kB / 0.6895 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1684, allocations: 7.938 kB / 0.6895 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.1686, allocations: 112.5 kB / 0.6896 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1688, allocations: 0.677 MB / 0.6902 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.1689, allocations: 64 / 0.6902 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.1689, allocations: 15.44 kB / 0.6903 GB, free: 9.043 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1689, allocations: 0 / 0.6903 GB, free: 9.043 MB / 494.1 MB Notification: Performance of Templates: time 0.002743/0.1717, allocations: 0.8366 MB / 0.6911 GB, free: 8.211 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)