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.001841/0.001841, 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.00205/0.00205, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 290.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002708, allocations: 99.33 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1603, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001691/0.162, allocations: 0.6446 MB / 0.6936 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.1626, allocations: 295 kB / 0.6939 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-06/0.1626, allocations: 0.9375 kB / 0.6939 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.1627, allocations: 0 / 0.6939 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.1627, allocations: 4 kB / 0.6939 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.1631, allocations: 79.81 kB / 0.694 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.351e-05/0.1631, allocations: 4 kB / 0.694 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.1632, allocations: 7.984 kB / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.1632, allocations: 0 / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.669e-05/0.1632, allocations: 0 / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.1632, allocations: 0 / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.1635, allocations: 127.8 kB / 0.6941 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1635, allocations: 3.984 kB / 0.6941 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.1635, allocations: 4 kB / 0.6941 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1637, allocations: 67.84 kB / 0.6942 GB, free: 3.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1637, allocations: 4 kB / 0.6942 GB, free: 3.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1637, allocations: 0 / 0.6942 GB, free: 3.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1637, allocations: 0 / 0.6942 GB, free: 3.461 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.0003273/0.164, allocations: 327.5 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1641, allocations: 12.03 kB / 0.6945 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1641, allocations: 0.9375 kB / 0.6945 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1642, allocations: 168.4 kB / 0.6947 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1642, allocations: 4.312 kB / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.1643, allocations: 384 / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.1643, allocations: 38.2 kB / 0.6947 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1644, allocations: 192 / 0.6947 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1644, allocations: 3.938 kB / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1644, allocations: 0 / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.1644, allocations: 0 / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1646, allocations: 145.7 kB / 0.6949 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.1646, allocations: 26.59 kB / 0.6949 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.1646, allocations: 4.859 kB / 0.6949 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008559/0.1655, allocations: 461.5 kB / 0.6953 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1655, allocations: 34.56 kB / 0.6954 GB, free: 2.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1655, allocations: 0 / 0.6954 GB, free: 2.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.1657, allocations: 41.62 kB / 0.6954 GB, free: 1.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1657, allocations: 51.41 kB / 0.6955 GB, free: 1.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.81e-05/0.1658, allocations: 89.86 kB / 0.6955 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1658, allocations: 25.7 kB / 0.6956 GB, free: 1.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1658, allocations: 80.14 kB / 0.6956 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1659, allocations: 7.906 kB / 0.6956 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1659, allocations: 9.719 kB / 0.6957 GB, free: 1.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1661, allocations: 314.8 kB / 0.696 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1661, allocations: 4.125 kB / 0.696 GB, free: 1.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.1661, allocations: 7.938 kB / 0.696 GB, free: 1.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.1661, allocations: 8.844 kB / 0.696 GB, free: 1.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1661, allocations: 0 / 0.696 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.047e-05/0.1662, allocations: 33.7 kB / 0.696 GB, free: 1.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1662, allocations: 4 kB / 0.696 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1662, allocations: 0 / 0.696 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1662, allocations: 7.922 kB / 0.696 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.1663, allocations: 4.094 kB / 0.696 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1663, allocations: 4 kB / 0.696 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-06/0.1663, allocations: 0 / 0.696 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1663, allocations: 0 / 0.696 GB, free: 1.262 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 9.67e-05/0.1664, allocations: 117.8 kB / 0.6961 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.1664, allocations: 0 / 0.6961 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.803e-05/0.1665, allocations: 44.75 kB / 0.6962 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1665, allocations: 3.938 kB / 0.6962 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1665, allocations: 0 / 0.6962 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1665, allocations: 7.969 kB / 0.6962 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1667, allocations: 146 kB / 0.6963 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1667, allocations: 0 / 0.6963 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.1667, allocations: 4 kB / 0.6963 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1667, allocations: 0 / 0.6963 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1667, allocations: 3.938 kB / 0.6963 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1667, allocations: 0 / 0.6963 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1667, allocations: 0 / 0.6963 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.592e-05/0.1668, allocations: 69.06 kB / 0.6964 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1669, allocations: 77.11 kB / 0.6965 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1669, allocations: 3.938 kB / 0.6965 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.1669, allocations: 0 / 0.6965 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.1669, allocations: 0 / 0.6965 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1669, allocations: 4 kB / 0.6965 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.167, allocations: 75.28 kB / 0.6966 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.167, allocations: 0 / 0.6966 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1672, allocations: 35.98 kB / 0.6966 GB, free: 0.582 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.0002701/0.1675, allocations: 143.2 kB / 0.6967 GB, free: 440 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.1675, allocations: 0 / 0.6967 GB, free: 440 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1676, allocations: 4 kB / 0.6967 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-06/0.1676, allocations: 8 kB / 0.6967 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1677, allocations: 0 / 0.6967 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.1679, allocations: 77.08 kB / 0.6968 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1682, allocations: 0.6729 MB / 0.6975 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.029e-05/0.1682, allocations: 0 / 0.6975 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.1682, allocations: 7.438 kB / 0.6975 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1682, allocations: 4 kB / 0.6975 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.002893/0.1711, allocations: 0.6313 MB / 0.6981 GB, free: 14.98 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)