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.001173/0.001173, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001051/0.001051, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.252/1.252, 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.002024/0.002024, allocations: 297.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9091/0.9091, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 107 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.00192/0.1515, allocations: 0.5758 MB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005614/0.1521, allocations: 287.1 kB / 0.6825 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.196e-05/0.1522, allocations: 0 / 0.6825 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.1522, allocations: 4 kB / 0.6825 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-06/0.1522, allocations: 0 / 0.6825 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1526, allocations: 91.72 kB / 0.6825 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.439e-05/0.1527, allocations: 4 kB / 0.6826 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1527, allocations: 4 kB / 0.6826 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.319e-05/0.1528, allocations: 3.984 kB / 0.6826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.1528, allocations: 0 / 0.6826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.1528, allocations: 0 / 0.6826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.153, allocations: 119.8 kB / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-06/0.153, allocations: 3.984 kB / 0.6827 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.153, allocations: 0 / 0.6827 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1532, allocations: 75.78 kB / 0.6828 GB, free: 6.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1532, allocations: 0 / 0.6828 GB, free: 6.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1532, allocations: 0 / 0.6828 GB, free: 6.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1532, allocations: 3.984 kB / 0.6828 GB, free: 6.289 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.0002476/0.1535, allocations: 327.6 kB / 0.6831 GB, free: 5.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1535, allocations: 8.031 kB / 0.6831 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1535, allocations: 0.9375 kB / 0.6831 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.1536, allocations: 164.4 kB / 0.6832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1536, allocations: 4.375 kB / 0.6832 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-06/0.1536, allocations: 4.375 kB / 0.6832 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.1537, allocations: 26.27 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1537, allocations: 192 / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1537, allocations: 3.938 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1538, allocations: 0 / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.1538, allocations: 7.938 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.1539, allocations: 149.7 kB / 0.6834 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.152e-05/0.1539, allocations: 18.61 kB / 0.6834 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.154, allocations: 8.859 kB / 0.6834 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.1546, allocations: 453.5 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1546, allocations: 38.48 kB / 0.6839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1546, allocations: 4 kB / 0.6839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.1548, allocations: 41.58 kB / 0.684 GB, free: 4.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1548, allocations: 51.41 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.835e-05/0.1548, allocations: 89.86 kB / 0.6841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.1548, allocations: 25.7 kB / 0.6841 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/0.1549, allocations: 80.14 kB / 0.6842 GB, free: 4.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1549, allocations: 4 kB / 0.6842 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.1549, allocations: 13.72 kB / 0.6842 GB, free: 4.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.155, allocations: 315 kB / 0.6845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.155, allocations: 0 / 0.6845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.155, allocations: 3.984 kB / 0.6845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.1551, allocations: 8.859 kB / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1551, allocations: 0 / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.635e-05/0.1551, allocations: 45.58 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1551, allocations: 10.34 kB / 0.6846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1551, allocations: 0 / 0.6846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1552, allocations: 8.016 kB / 0.6846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.125e-05/0.1552, allocations: 4 kB / 0.6846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1552, allocations: 0 / 0.6846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.1552, allocations: 4 kB / 0.6846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.1552, allocations: 0 / 0.6846 GB, free: 4.09 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 5.249e-05/0.1553, allocations: 109.8 kB / 0.6847 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.1553, allocations: 0 / 0.6847 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.1554, allocations: 40.56 kB / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1554, allocations: 3.938 kB / 0.6847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1554, allocations: 4.031 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1554, allocations: 4 kB / 0.6847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.117e-05/0.1555, allocations: 149.7 kB / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1555, allocations: 0 / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.1555, allocations: 0 / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1555, allocations: 0 / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1555, allocations: 7.938 kB / 0.6849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1555, allocations: 0 / 0.6849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1555, allocations: 0 / 0.6849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.646e-05/0.1556, allocations: 65.03 kB / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.1556, allocations: 77.11 kB / 0.685 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1556, allocations: 7.938 kB / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.1556, allocations: 0 / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-06/0.1556, allocations: 0 / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1556, allocations: 0 / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.192e-05/0.1557, allocations: 75.28 kB / 0.6851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.1557, allocations: 3.938 kB / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1559, allocations: 31.92 kB / 0.6851 GB, free: 3.422 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.0002/0.1561, allocations: 139.2 kB / 0.6853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.82e-05/0.1562, allocations: 8 kB / 0.6853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1562, allocations: 0 / 0.6853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.576e-06/0.1562, allocations: 4 kB / 0.6853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.1563, allocations: 3.938 kB / 0.6853 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001374/0.1564, allocations: 77.08 kB / 0.6854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.1566, allocations: 0.6768 MB / 0.686 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.016e-05/0.1567, allocations: 3.984 kB / 0.686 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.1567, allocations: 7.438 kB / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1567, allocations: 0 / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of Templates: time 0.00219/0.1589, allocations: 0.626 MB / 0.6867 GB, free: 1.816 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)