Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007646/0.007646, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001609/0.001609, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.002079, allocations: 283.2 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001744, allocations: 99.84 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002699/0.1687, allocations: 1.431 MB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.1693, allocations: 236.1 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.1694, allocations: 8 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.1695, allocations: 3.938 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.1695, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.17, allocations: 51.83 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.1701, allocations: 27.92 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.1702, allocations: 3.984 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.1702, allocations: 11.94 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.1703, allocations: 11.92 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.1703, allocations: 3.938 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1704, allocations: 67.88 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.1705, allocations: 4 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1705, allocations: 7.938 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1706, allocations: 51.92 kB / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1706, allocations: 0 / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1706, allocations: 0 / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1707, allocations: 0 / 0.7683 GB, free: 6.52 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.0004979/0.1712, allocations: 351.4 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1712, allocations: 12.03 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1713, allocations: 4.938 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1714, allocations: 168.2 kB / 0.7688 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1715, allocations: 8.312 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1715, allocations: 384 / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1717, allocations: 50.23 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1717, allocations: 192 / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1717, allocations: 3.938 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1717, allocations: 0 / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1719, allocations: 39.95 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1722, allocations: 245 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1723, allocations: 42.44 kB / 0.7691 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.1724, allocations: 24.89 kB / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006483/0.1731, allocations: 461.5 kB / 0.7696 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1731, allocations: 30.56 kB / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1731, allocations: 0 / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.1735, allocations: 81.64 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1735, allocations: 55.34 kB / 0.7698 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.1736, allocations: 101.8 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1736, allocations: 25.7 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1737, allocations: 88.14 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1737, allocations: 11.83 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1738, allocations: 9.719 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1739, allocations: 323 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.174, allocations: 15.98 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.1741, allocations: 11.98 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1742, allocations: 44.81 kB / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1742, allocations: 0 / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.1744, allocations: 73.61 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1745, allocations: 4 kB / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1745, allocations: 0 / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1745, allocations: 0 / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.1746, allocations: 15.92 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1746, allocations: 0 / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1746, allocations: 7.984 kB / 0.7705 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1746, allocations: 0 / 0.7705 GB, free: 3.938 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 6.888e-05/0.1747, allocations: 114.5 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1748, allocations: 7.906 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.175, allocations: 72.72 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.175, allocations: 0 / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.175, allocations: 0 / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.175, allocations: 0 / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1752, allocations: 165.6 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1752, allocations: 4.031 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.1752, allocations: 11.92 kB / 0.7708 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1753, allocations: 0 / 0.7708 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1753, allocations: 4 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1753, allocations: 4 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1753, allocations: 0 / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1755, allocations: 167.5 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1756, allocations: 77.11 kB / 0.7711 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1756, allocations: 0 / 0.7711 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1757, allocations: 7.984 kB / 0.7711 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.1757, allocations: 0 / 0.7711 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1757, allocations: 0 / 0.7711 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.1758, allocations: 83.28 kB / 0.7712 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1758, allocations: 0 / 0.7712 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002434/0.176, allocations: 16 kB / 0.7712 GB, free: 3.121 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.0001857/0.1762, allocations: 123.2 kB / 0.7713 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1764, allocations: 35.95 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1764, allocations: 0 / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.1765, allocations: 24.05 kB / 0.7713 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1768, allocations: 10.28 kB / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.1771, allocations: 105.5 kB / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1775, allocations: 0.6768 MB / 0.7721 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.1775, allocations: 0 / 0.7721 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1775, allocations: 11.44 kB / 0.7721 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of SimCode: time 2.104e-06/0.1775, allocations: 64 / 0.7721 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of Templates: time 0.003578/0.1811, allocations: 0.6734 MB / 0.7728 GB, free: 1.406 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)