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.004554/0.004554, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.00108/0.001081, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 298.5 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 91.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1554, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.00243/0.1578, allocations: 1.425 MB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.1586, allocations: 347.6 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.1587, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.1587, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.1588, allocations: 11.92 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1592, allocations: 95.72 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.1593, allocations: 27.91 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.1594, allocations: 4 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.1594, allocations: 11.98 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.1595, allocations: 11.94 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.1595, allocations: 0 / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1597, allocations: 127.7 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1597, allocations: 4 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.1598, allocations: 11.94 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.16, allocations: 87.75 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.16, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.16, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.16, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB 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.0004736/0.1605, allocations: 355.4 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1605, allocations: 8.031 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1606, allocations: 0.9375 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1607, allocations: 176.3 kB / 0.769 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1607, allocations: 8.375 kB / 0.769 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1607, allocations: 384 / 0.769 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1609, allocations: 50.23 kB / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1609, allocations: 192 / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.161, allocations: 3.938 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.161, allocations: 3.938 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1611, allocations: 31.97 kB / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1614, allocations: 249 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1616, allocations: 38.5 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.1617, allocations: 20.91 kB / 0.7694 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.1623, allocations: 465.4 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1623, allocations: 34.5 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.1624, allocations: 0 / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003593/0.1627, allocations: 85.73 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1628, allocations: 51.41 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.1628, allocations: 105.8 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1629, allocations: 25.7 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1629, allocations: 84.14 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1629, allocations: 7.844 kB / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.163, allocations: 13.72 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1631, allocations: 318.8 kB / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.1632, allocations: 20.02 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.1632, allocations: 15.92 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1634, allocations: 36.83 kB / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1634, allocations: 0 / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.1636, allocations: 73.66 kB / 0.7707 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1636, allocations: 4 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1636, allocations: 0 / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1636, allocations: 0 / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.1637, allocations: 11.98 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1637, allocations: 0 / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1638, allocations: 15.92 kB / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1638, allocations: 0 / 0.7707 GB, free: 3.676 MB / 0.5606 GB 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 8.228e-05/0.1639, allocations: 118.5 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1639, allocations: 7.844 kB / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.1641, allocations: 68.78 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1642, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1642, allocations: 4 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1642, allocations: 0 / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1643, allocations: 161.6 kB / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1643, allocations: 0 / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1644, allocations: 12.03 kB / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1644, allocations: 3.984 kB / 0.7711 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1644, allocations: 4 kB / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1644, allocations: 0 / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1644, allocations: 0 / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1647, allocations: 163.6 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.1647, allocations: 89.12 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1648, allocations: 0 / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1648, allocations: 7.984 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1649, allocations: 0 / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1649, allocations: 7.938 kB / 0.7713 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.1649, allocations: 75.28 kB / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1649, allocations: 0 / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002538/0.1652, allocations: 31.98 kB / 0.7714 GB, free: 2.84 MB / 0.5606 GB 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.0002258/0.1654, allocations: 139.2 kB / 0.7716 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1656, allocations: 31.97 kB / 0.7716 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1656, allocations: 4.062 kB / 0.7716 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.1657, allocations: 19.92 kB / 0.7716 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.166, allocations: 11.92 kB / 0.7716 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1662, allocations: 109.5 kB / 0.7717 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1664, allocations: 0.6729 MB / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.1665, allocations: 0 / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.1665, allocations: 15.5 kB / 0.7724 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1665, allocations: 0 / 0.7724 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.002967/0.1695, allocations: 0.8911 MB / 0.7733 GB, free: 0.8867 MB / 0.5606 GB 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)