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.007001/0.007001, allocations: 96.22 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.001702/0.001702, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 286.7 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 95.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1688, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002869/0.1717, allocations: 1.427 MB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005277/0.1723, allocations: 244.1 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.1723, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.1723, allocations: 3.938 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.1724, allocations: 4 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1728, allocations: 59.81 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.1729, allocations: 23.92 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.173, allocations: 8 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.173, allocations: 11.94 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.1731, allocations: 7.984 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1731, allocations: 3.938 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1732, allocations: 63.88 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1733, allocations: 7.984 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1733, allocations: 7.938 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1734, allocations: 51.86 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1735, allocations: 0 / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1735, allocations: 0 / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1735, allocations: 0 / 0.7683 GB, free: 6.512 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.0004804/0.174, allocations: 355.3 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.174, allocations: 8.031 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.174, allocations: 8.938 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1742, allocations: 168.3 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1742, allocations: 384 / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1742, allocations: 4.375 kB / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1744, allocations: 50.17 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1744, allocations: 4.188 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1745, allocations: 7.938 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1745, allocations: 0 / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1746, allocations: 31.95 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.175, allocations: 245 kB / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1752, allocations: 46.44 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1753, allocations: 28.89 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/0.1759, allocations: 449.5 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.176, allocations: 38.56 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.176, allocations: 0 / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.1763, allocations: 73.64 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1764, allocations: 55.41 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1765, allocations: 109.8 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1765, allocations: 25.7 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1765, allocations: 92.2 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1766, allocations: 7.953 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1766, allocations: 9.719 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1767, allocations: 318.8 kB / 0.7703 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.1768, allocations: 15.98 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.222e-05/0.1769, allocations: 11.98 kB / 0.7703 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.177, allocations: 44.89 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1771, allocations: 0 / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.1773, allocations: 65.59 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1773, allocations: 8 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1773, allocations: 0 / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1773, allocations: 0 / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1774, allocations: 11.92 kB / 0.7704 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1774, allocations: 8.031 kB / 0.7705 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1775, allocations: 7.984 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1775, allocations: 0 / 0.7705 GB, free: 3.93 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 7.066e-05/0.1776, allocations: 110.4 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1776, allocations: 3.953 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1778, allocations: 76.72 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1778, allocations: 4.031 kB / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1778, allocations: 0 / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1778, allocations: 0 / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.178, allocations: 161.6 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.178, allocations: 0 / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.1781, allocations: 11.98 kB / 0.7708 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1781, allocations: 3.938 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1781, allocations: 0 / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1781, allocations: 0 / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1781, allocations: 4 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1783, allocations: 167.5 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1784, allocations: 81.11 kB / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1784, allocations: 0 / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1785, allocations: 7.984 kB / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1785, allocations: 0 / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1785, allocations: 32 / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.1786, allocations: 87.28 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1786, allocations: 0 / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002347/0.1788, allocations: 15.94 kB / 0.7712 GB, free: 3.113 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.000185/0.179, allocations: 119.2 kB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1792, allocations: 43.89 kB / 0.7713 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1793, allocations: 0 / 0.7713 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.1793, allocations: 19.98 kB / 0.7713 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1796, allocations: 7.875 kB / 0.7713 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.1798, allocations: 105.5 kB / 0.7715 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1801, allocations: 0.6808 MB / 0.7721 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.1801, allocations: 4 kB / 0.7721 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.1801, allocations: 7.438 kB / 0.7721 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.1801, allocations: 0 / 0.7721 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.003079/0.1832, allocations: 0.6786 MB / 0.7728 GB, free: 1.391 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)