Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 190.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205 MB / 0.6354 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009289/0.000929, allocations: 100.3 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000937/0.000937, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1972, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002423/0.1996, allocations: 1.487 MB / 0.9837 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.2001, allocations: 260 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.2002, allocations: 0 / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.2002, allocations: 4 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.2002, allocations: 0 / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.2005, allocations: 47.88 kB / 0.984 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.2006, allocations: 19.94 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2006, allocations: 7.984 kB / 0.984 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.2007, allocations: 11.94 kB / 0.984 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.2007, allocations: 11.92 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.2007, allocations: 0 / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2009, allocations: 67.88 kB / 0.9841 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2009, allocations: 4 kB / 0.9841 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.2009, allocations: 11.92 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2011, allocations: 47.88 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2011, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2011, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2011, allocations: 4 kB / 0.9841 GB, free: 8.422 MB / 0.7136 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.0004224/0.2015, allocations: 351.7 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2016, allocations: 8.031 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2016, allocations: 4.938 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2017, allocations: 168.3 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2017, allocations: 4.375 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2018, allocations: 8.25 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.202, allocations: 50.23 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.202, allocations: 192 / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.202, allocations: 3.938 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.202, allocations: 0 / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2022, allocations: 43.89 kB / 0.9848 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.2025, allocations: 245 kB / 0.985 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2026, allocations: 38.5 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.2027, allocations: 20.89 kB / 0.985 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.2032, allocations: 457.5 kB / 0.9855 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2033, allocations: 30.56 kB / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2033, allocations: 0 / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003096/0.2036, allocations: 89.58 kB / 0.9856 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2036, allocations: 51.41 kB / 0.9856 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.2037, allocations: 101.8 kB / 0.9857 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2037, allocations: 29.7 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2038, allocations: 80.14 kB / 0.9858 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.2038, allocations: 3.906 kB / 0.9859 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.2038, allocations: 17.72 kB / 0.9859 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2039, allocations: 319 kB / 0.9862 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.204, allocations: 15.98 kB / 0.9862 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.2041, allocations: 19.98 kB / 0.9862 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2042, allocations: 36.77 kB / 0.9862 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2042, allocations: 0 / 0.9862 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.2044, allocations: 73.66 kB / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2044, allocations: 4 kB / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.2044, allocations: 0 / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2045, allocations: 4.188 kB / 0.9863 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.2045, allocations: 7.984 kB / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2045, allocations: 0 / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.2046, allocations: 7.984 kB / 0.9863 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2046, allocations: 3.984 kB / 0.9863 GB, free: 5.852 MB / 0.7136 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 5.853e-05/0.2047, allocations: 125.8 kB / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.2047, allocations: 3.906 kB / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.2049, allocations: 68.72 kB / 0.9865 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2049, allocations: 4 kB / 0.9865 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2049, allocations: 3.938 kB / 0.9865 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2049, allocations: 0 / 0.9865 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2051, allocations: 165.5 kB / 0.9867 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2051, allocations: 4.031 kB / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.2051, allocations: 11.98 kB / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2051, allocations: 4 kB / 0.9867 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2051, allocations: 3.938 kB / 0.9867 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2051, allocations: 0 / 0.9867 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2051, allocations: 0 / 0.9867 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.2057, allocations: 0.72 MB / 0.9874 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.2057, allocations: 81.11 kB / 0.9875 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2057, allocations: 0 / 0.9875 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.2058, allocations: 4 kB / 0.9875 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2059, allocations: 3.984 kB / 0.9875 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.2059, allocations: 3.938 kB / 0.9875 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.2059, allocations: 87.31 kB / 0.9876 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2059, allocations: 0 / 0.9876 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003102/0.2062, allocations: 16 kB / 0.9876 GB, free: 4.414 MB / 0.7136 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.0001769/0.2064, allocations: 123.2 kB / 0.9877 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2066, allocations: 39.95 kB / 0.9878 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2066, allocations: 0 / 0.9878 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.2067, allocations: 19.98 kB / 0.9878 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2069, allocations: 4 kB / 0.9878 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.2072, allocations: 210.1 kB / 0.988 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2074, allocations: 0.6811 MB / 0.9887 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.2074, allocations: 4 kB / 0.9887 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.2074, allocations: 7.438 kB / 0.9887 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.2074, allocations: 0 / 0.9887 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of Templates: time 0.002182/0.2096, allocations: 0.5965 MB / 0.9892 GB, free: 2.66 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)