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.001233/0.001233, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.0009693/0.0009693, allocations: 190.9 kB / 17.31 MB, free: 5.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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 292.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8839/0.8839, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 93.91 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 86.98 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001626/0.1481, allocations: 0.5668 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000531/0.1486, allocations: 303 kB / 0.6825 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-06/0.1487, allocations: 0 / 0.6825 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.197e-06/0.1487, allocations: 0 / 0.6825 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.1487, allocations: 0 / 0.6825 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1491, allocations: 107.7 kB / 0.6826 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.1491, allocations: 7.984 kB / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.1492, allocations: 3.984 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1492, allocations: 0 / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.908e-05/0.1492, allocations: 4 kB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.1492, allocations: 0 / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1495, allocations: 123.8 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.275e-06/0.1495, allocations: 4 kB / 0.6827 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.1495, allocations: 0 / 0.6827 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1497, allocations: 75.77 kB / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1497, allocations: 4 kB / 0.6828 GB, free: 6.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1497, allocations: 0 / 0.6828 GB, free: 6.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1497, allocations: 0 / 0.6828 GB, free: 6.234 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.0002748/0.15, allocations: 323.6 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.15, allocations: 12.03 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1501, allocations: 0.9375 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.1501, allocations: 160.4 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1502, allocations: 384 / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.1502, allocations: 384 / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.546e-05/0.1502, allocations: 38.27 kB / 0.6833 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1503, allocations: 192 / 0.6833 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1503, allocations: 7.922 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1503, allocations: 0 / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1503, allocations: 7.922 kB / 0.6833 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.1504, allocations: 145.7 kB / 0.6834 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.844e-05/0.1505, allocations: 14.58 kB / 0.6835 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.1505, allocations: 4.859 kB / 0.6835 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/0.1513, allocations: 473.5 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1513, allocations: 34.55 kB / 0.684 GB, free: 4.781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.1513, allocations: 4 kB / 0.684 GB, free: 4.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.1515, allocations: 41.58 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1515, allocations: 55.41 kB / 0.684 GB, free: 4.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.419e-05/0.1515, allocations: 89.86 kB / 0.6841 GB, free: 4.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1515, allocations: 25.7 kB / 0.6842 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.1516, allocations: 80.14 kB / 0.6842 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1516, allocations: 0 / 0.6842 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.1516, allocations: 9.719 kB / 0.6842 GB, free: 4.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1518, allocations: 322.9 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.1518, allocations: 3.984 kB / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.1518, allocations: 0 / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.1518, allocations: 20.8 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1518, allocations: 3.938 kB / 0.6846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.1519, allocations: 29.7 kB / 0.6846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.152, allocations: 4 kB / 0.6846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.152, allocations: 4 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.152, allocations: 8.031 kB / 0.6846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.152, allocations: 0 / 0.6846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1521, allocations: 0 / 0.6846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.1521, allocations: 0 / 0.6846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1521, allocations: 3.984 kB / 0.6846 GB, free: 4.027 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.028e-05/0.1521, allocations: 109.8 kB / 0.6847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.1522, allocations: 0 / 0.6847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.1522, allocations: 52.62 kB / 0.6848 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1523, allocations: 4.031 kB / 0.6848 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1523, allocations: 0 / 0.6848 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1523, allocations: 0 / 0.6848 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1524, allocations: 153.7 kB / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1524, allocations: 0 / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.1524, allocations: 0 / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1524, allocations: 0 / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1524, allocations: 3.938 kB / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1524, allocations: 0 / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1524, allocations: 4 kB / 0.6849 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.1525, allocations: 61.12 kB / 0.685 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.1525, allocations: 77.11 kB / 0.6851 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1526, allocations: 3.938 kB / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.1526, allocations: 3.938 kB / 0.6851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-06/0.1526, allocations: 4 kB / 0.6851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1526, allocations: 0 / 0.6851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.1526, allocations: 75.28 kB / 0.6852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 0.6852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1529, allocations: 32.02 kB / 0.6852 GB, free: 3.352 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.0002565/0.1532, allocations: 131.2 kB / 0.6853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.358e-05/0.1532, allocations: 12 kB / 0.6853 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1532, allocations: 3.938 kB / 0.6853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.1532, allocations: 4 kB / 0.6853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1534, allocations: 0 / 0.6853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.1536, allocations: 80.97 kB / 0.6854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1538, allocations: 0.6767 MB / 0.6861 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.031e-05/0.1538, allocations: 4 kB / 0.6861 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.1539, allocations: 7.438 kB / 0.6861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1539, allocations: 4.125 kB / 0.6861 GB, free: 2.367 MB / 494.1 MB Notification: Performance of Templates: time 0.002385/0.1563, allocations: 0.653 MB / 0.6867 GB, free: 1.715 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)