Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107 kB / 15.99 MB, free: 6.359 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.0009997/0.0009997, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 280.3 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8792/0.8792, allocations: 169.2 MB / 0.4985 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 95.2 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1544, allocations: 86.97 MB / 0.6803 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002507/0.1569, allocations: 1.488 MB / 0.6817 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006409/0.1576, allocations: 348.5 kB / 0.6821 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1576, allocations: 0 / 0.6821 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1576, allocations: 0 / 0.6821 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.1577, allocations: 3.938 kB / 0.6821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1581, allocations: 95.86 kB / 0.6822 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.1582, allocations: 19.92 kB / 0.6822 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.1583, allocations: 11.98 kB / 0.6822 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.1583, allocations: 0 / 0.6822 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.1583, allocations: 15.92 kB / 0.6822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1583, allocations: 4 kB / 0.6822 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1585, allocations: 131.7 kB / 0.6823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-06/0.1586, allocations: 4 kB / 0.6823 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.1586, allocations: 7.938 kB / 0.6823 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1587, allocations: 63.89 kB / 0.6824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1587, allocations: 0 / 0.6824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1587, allocations: 0 / 0.6824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1587, allocations: 0 / 0.6824 GB, free: 6.402 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.0004952/0.1592, allocations: 351.8 kB / 0.6827 GB, free: 6.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1593, allocations: 8.031 kB / 0.6827 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1593, allocations: 8.844 kB / 0.6827 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1594, allocations: 164.3 kB / 0.6829 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1594, allocations: 384 / 0.6829 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1594, allocations: 8.375 kB / 0.6829 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1596, allocations: 50.17 kB / 0.683 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1596, allocations: 4.188 kB / 0.683 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1596, allocations: 3.938 kB / 0.683 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1596, allocations: 0 / 0.683 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1598, allocations: 31.95 kB / 0.683 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.1601, allocations: 249 kB / 0.6832 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1602, allocations: 46.42 kB / 0.6833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.1603, allocations: 20.91 kB / 0.6833 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.1609, allocations: 461.5 kB / 0.6837 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.161, allocations: 34.56 kB / 0.6838 GB, free: 4.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.161, allocations: 3.938 kB / 0.6838 GB, free: 4.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000311/0.1613, allocations: 77.64 kB / 0.6839 GB, free: 4.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1613, allocations: 59.53 kB / 0.6839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.1614, allocations: 97.84 kB / 0.684 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1614, allocations: 25.7 kB / 0.684 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1615, allocations: 88.05 kB / 0.6841 GB, free: 4.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1615, allocations: 7.922 kB / 0.6841 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1615, allocations: 13.72 kB / 0.6841 GB, free: 4.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1616, allocations: 314.8 kB / 0.6844 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.1617, allocations: 15.98 kB / 0.6844 GB, free: 3.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.1618, allocations: 19.98 kB / 0.6845 GB, free: 3.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1619, allocations: 44.81 kB / 0.6845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1619, allocations: 0 / 0.6845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.1621, allocations: 69.59 kB / 0.6846 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1621, allocations: 13.88 kB / 0.6846 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1622, allocations: 0 / 0.6846 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1622, allocations: 0 / 0.6846 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.1623, allocations: 7.938 kB / 0.6846 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1623, allocations: 0 / 0.6846 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1623, allocations: 11.92 kB / 0.6846 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1623, allocations: 4 kB / 0.6846 GB, free: 3.816 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.1624, allocations: 113.8 kB / 0.6847 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.1624, allocations: 4 kB / 0.6847 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1626, allocations: 76.7 kB / 0.6848 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1626, allocations: 0 / 0.6848 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1626, allocations: 0 / 0.6848 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1627, allocations: 0 / 0.6848 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1628, allocations: 157.6 kB / 0.6849 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1628, allocations: 0 / 0.6849 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.1629, allocations: 11.98 kB / 0.685 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1629, allocations: 4.031 kB / 0.685 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1629, allocations: 0 / 0.685 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1629, allocations: 3.938 kB / 0.685 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1629, allocations: 0 / 0.685 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1631, allocations: 163.5 kB / 0.6851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1632, allocations: 81.02 kB / 0.6852 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1632, allocations: 8.031 kB / 0.6852 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1633, allocations: 3.984 kB / 0.6852 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1633, allocations: 4 kB / 0.6852 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1633, allocations: 0 / 0.6852 GB, free: 3.098 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.1634, allocations: 87.27 kB / 0.6853 GB, free: 3.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 0.6853 GB, free: 3.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1636, allocations: 31.94 kB / 0.6853 GB, free: 2.98 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 (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.0002288/0.1638, allocations: 135.2 kB / 0.6855 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.164, allocations: 39.89 kB / 0.6855 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.164, allocations: 4 kB / 0.6855 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.1641, allocations: 20.05 kB / 0.6855 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1643, allocations: 7.938 kB / 0.6855 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.1646, allocations: 135.3 kB / 0.6857 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1649, allocations: 0.6768 MB / 0.6863 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.165, allocations: 11.44 kB / 0.6863 GB, free: 1.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.165, allocations: 0 / 0.6863 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Templates: time 0.002104/0.1671, allocations: 0.9792 MB / 0.6873 GB, free: 0.9141 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)