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.0007989/0.0008027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005618/0.005618, allocations: 170 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 282.3 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 19.55 kB / 0.5987 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.0006554/0.1509, allocations: 303.3 kB / 0.6854 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006213/0.1515, allocations: 322.1 kB / 0.6857 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-06/0.1515, allocations: 0 / 0.6857 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.1515, allocations: 0 / 0.6857 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-06/0.1515, allocations: 0 / 0.6857 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1519, allocations: 80.33 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.579e-05/0.1519, allocations: 1.188 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.152, allocations: 3.984 kB / 0.6858 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.152, allocations: 7.938 kB / 0.6858 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.67e-05/0.152, allocations: 1.906 kB / 0.6858 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.152, allocations: 0 / 0.6858 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1523, allocations: 135.7 kB / 0.686 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.1523, allocations: 0 / 0.686 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1523, allocations: 30.52 kB / 0.686 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1525, allocations: 71.83 kB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1525, allocations: 4.625 kB / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1525, allocations: 0 / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1525, allocations: 1.438 kB / 0.6861 GB, free: 14.1 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.0002753/0.1528, allocations: 323.6 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1529, allocations: 9.25 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1529, allocations: 12.81 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.153, allocations: 164.4 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.153, allocations: 1.125 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.153, allocations: 384 / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.618e-05/0.1531, allocations: 29.3 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1531, allocations: 192 / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1531, allocations: 3.938 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1531, allocations: 4 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.48e-05/0.1531, allocations: 0 / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1533, allocations: 149.6 kB / 0.6867 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.1533, allocations: 28.08 kB / 0.6868 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.1533, allocations: 4.859 kB / 0.6868 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.1541, allocations: 476.8 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1541, allocations: 31.28 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1541, allocations: 0 / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.1543, allocations: 39.08 kB / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1543, allocations: 59.39 kB / 0.6873 GB, free: 12.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.1543, allocations: 90.42 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1544, allocations: 29.7 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.1544, allocations: 80.77 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1544, allocations: 4.125 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.1544, allocations: 9.719 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1546, allocations: 310.8 kB / 0.6878 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.1546, allocations: 4 kB / 0.6878 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.1546, allocations: 0 / 0.6878 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.1546, allocations: 8.859 kB / 0.6879 GB, free: 11.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1546, allocations: 0 / 0.6879 GB, free: 11.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.915e-05/0.1547, allocations: 41.62 kB / 0.6879 GB, free: 11.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1547, allocations: 8.094 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1547, allocations: 0 / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1547, allocations: 3.938 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.1548, allocations: 4 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1548, allocations: 0 / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.1548, allocations: 288 / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1548, allocations: 0 / 0.6879 GB, free: 11.91 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.16e-05/0.1549, allocations: 107.2 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.1549, allocations: 7.938 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.1549, allocations: 48.69 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.155, allocations: 0 / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.155, allocations: 0 / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.155, allocations: 0 / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.1551, allocations: 153.6 kB / 0.6882 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1551, allocations: 3.938 kB / 0.6882 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.1551, allocations: 4 kB / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1551, allocations: 3.984 kB / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1551, allocations: 3.938 kB / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1551, allocations: 0 / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1551, allocations: 4.031 kB / 0.6882 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.06e-05/0.1552, allocations: 61.14 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.1552, allocations: 81.02 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1553, allocations: 7.922 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-06/0.1553, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.1553, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1553, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.1553, allocations: 83.31 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1553, allocations: 0 / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.1555, allocations: 24 kB / 0.6885 GB, free: 11.22 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.000288/0.1558, allocations: 139.2 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.068e-05/0.1559, allocations: 4 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1559, allocations: 0 / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.1559, allocations: 3.984 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.156, allocations: 0 / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.1562, allocations: 82.7 kB / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1565, allocations: 0.6692 MB / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.1565, allocations: 0 / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.868e-06/0.1565, allocations: 11.56 kB / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1565, allocations: 0 / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of Templates: time 0.002402/0.159, allocations: 0.6411 MB / 0.69 GB, free: 9.613 MB / 494.1 MB 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)