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.471/1.471, allocations: 252 MB / 268 MB, free: 10.86 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.001368/0.001368, allocations: 182.8 kB / 327.6 MB, free: 2.074 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.886/1.886, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008458/0.0008459, allocations: 91.34 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 9 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001571/0.2395, allocations: 1.164 MB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005341/0.24, allocations: 252.2 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.2401, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.2401, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.2402, allocations: 3.938 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.2405, allocations: 39.97 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.2406, allocations: 27.86 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.2407, allocations: 4 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.2407, allocations: 8 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.2408, allocations: 15.91 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.2408, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.241, allocations: 67.88 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.241, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.241, allocations: 33.64 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.2411, allocations: 39.92 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2411, allocations: 0 / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2411, allocations: 0 / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.2412, allocations: 0 / 0.903 GB, free: 61.82 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.0004031/0.2416, allocations: 345 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2416, allocations: 8.031 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.2416, allocations: 4.938 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.2417, allocations: 176.4 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2418, allocations: 4.375 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2418, allocations: 4.375 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.242, allocations: 58.23 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.242, allocations: 192 / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.242, allocations: 7.875 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.242, allocations: 0 / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2422, allocations: 47.95 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.2425, allocations: 244.9 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2426, allocations: 46.48 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.2427, allocations: 28.91 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.2433, allocations: 453.5 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2433, allocations: 42.55 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.2433, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003457/0.2437, allocations: 97.59 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2437, allocations: 55.53 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.2438, allocations: 101.8 kB / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.2438, allocations: 25.7 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.2438, allocations: 84.08 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2438, allocations: 7.906 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.2439, allocations: 0 / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.2439, allocations: 318.8 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.244, allocations: 19.98 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2441, allocations: 23.98 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.2442, allocations: 52.88 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2442, allocations: 0 / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.2444, allocations: 77.55 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2444, allocations: 12.03 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2444, allocations: 0 / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2445, allocations: 0 / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.2445, allocations: 11.98 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2446, allocations: 0 / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.2446, allocations: 11.98 kB / 0.9053 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2446, allocations: 3.984 kB / 0.9053 GB, free: 59.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.2447, allocations: 113.8 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2447, allocations: 11.91 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.2449, allocations: 76.72 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.245, allocations: 4 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.245, allocations: 0 / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.245, allocations: 4.031 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2451, allocations: 161.6 kB / 0.9057 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2451, allocations: 0 / 0.9057 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.2452, allocations: 11.98 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2452, allocations: 0 / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2452, allocations: 0 / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2452, allocations: 0 / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2452, allocations: 4 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2454, allocations: 179.4 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.2454, allocations: 77.11 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.2454, allocations: 192 / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.2455, allocations: 16.02 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.2456, allocations: 3.984 kB / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2456, allocations: 0 / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.2456, allocations: 87.22 kB / 0.906 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2456, allocations: 3.938 kB / 0.906 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002241/0.2458, allocations: 23.98 kB / 0.9061 GB, free: 58.32 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 (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.0002017/0.2461, allocations: 111.2 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2463, allocations: 43.95 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2463, allocations: 4 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.2464, allocations: 28.05 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2466, allocations: 3.938 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.2468, allocations: 138.5 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.247, allocations: 0.6809 MB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.247, allocations: 7.438 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.247, allocations: 4.062 kB / 0.9071 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.002154/0.2492, allocations: 0.7628 MB / 0.9078 GB, free: 56.48 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)