Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 176.5 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007681/0.0007681, allocations: 90.81 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 9.688 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2091, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001319/0.2105, allocations: 1.153 MB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.2109, allocations: 228.4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2109, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.2109, allocations: 3.938 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.211, allocations: 4 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2112, allocations: 43.89 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.53e-05/0.2113, allocations: 15.92 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.2114, allocations: 11.98 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.2114, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.2115, allocations: 11.92 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.2115, allocations: 7.938 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2116, allocations: 59.89 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.2116, allocations: 3.984 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.2116, allocations: 29.7 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.2117, allocations: 27.94 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2117, allocations: 4 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2117, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.2117, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 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.0003797/0.2121, allocations: 347.3 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2122, allocations: 12.03 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.2122, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.2123, allocations: 167.2 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2123, allocations: 3.984 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2123, allocations: 7.938 kB / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2125, allocations: 53.69 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2125, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2125, allocations: 3.938 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2125, allocations: 3.984 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2127, allocations: 39.97 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.2129, allocations: 256.8 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2131, allocations: 50.53 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.2132, allocations: 28.84 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.2137, allocations: 457.5 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2137, allocations: 30.56 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2137, allocations: 0 / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003289/0.214, allocations: 101.6 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.2141, allocations: 51.41 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.2141, allocations: 101.9 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2141, allocations: 25.7 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.2142, allocations: 88.12 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2142, allocations: 7.906 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2142, allocations: 0 / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.2142, allocations: 314.8 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.2143, allocations: 19.98 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.2144, allocations: 27.92 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.2145, allocations: 27.97 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2145, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.2147, allocations: 73.73 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2147, allocations: 4 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2147, allocations: 0 / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2147, allocations: 0 / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.2148, allocations: 15.98 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2148, allocations: 3.969 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.2149, allocations: 15.98 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2149, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.2149, allocations: 117.8 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.215, allocations: 3.906 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.2152, allocations: 80.78 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2152, allocations: 0 / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2152, allocations: 0 / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2152, allocations: 3.984 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2153, allocations: 157.6 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2153, allocations: 0 / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2154, allocations: 11.98 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2154, allocations: 8.031 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2154, allocations: 4 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2154, allocations: 0 / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2154, allocations: 7.922 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2156, allocations: 175.4 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.2156, allocations: 77.11 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.2156, allocations: 4 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.2157, allocations: 7.984 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.2158, allocations: 4 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2158, allocations: 4 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.2158, allocations: 75.28 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2158, allocations: 4.031 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.216, allocations: 23.98 kB / 0.9054 GB, free: 58.83 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001832/0.2162, allocations: 111.2 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2164, allocations: 55.89 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2164, allocations: 3.938 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2165, allocations: 23.98 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.2167, allocations: 4.938 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.2169, allocations: 140.7 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.951e-05/0.217, allocations: 0.677 MB / 0.9063 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2171, allocations: 7.438 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2171, allocations: 0 / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.001826/0.2189, allocations: 0.7705 MB / 0.9071 GB, free: 56.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)