Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.678/2.678, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002177/0.002177, allocations: 178.3 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.563/2.563, allocations: 205.4 MB / 0.5766 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 104.8 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 17.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007441/0.2437, allocations: 321.1 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.2442, allocations: 181.6 kB / 0.8994 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-06/0.2442, allocations: 0 / 0.8994 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.2442, allocations: 4 kB / 0.8994 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.2442, allocations: 0 / 0.8994 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.2446, allocations: 39.84 kB / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.071e-05/0.2446, allocations: 0 / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2447, allocations: 0 / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.2447, allocations: 0 / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.227e-05/0.2447, allocations: 7.984 kB / 0.8994 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.2448, allocations: 0 / 0.8994 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2449, allocations: 63.88 kB / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-06/0.245, allocations: 0 / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.245, allocations: 29.7 kB / 0.8995 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.2451, allocations: 27.95 kB / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2451, allocations: 3.938 kB / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2451, allocations: 0 / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2451, allocations: 0 / 0.8995 GB, free: 64.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002205/0.2454, allocations: 315.4 kB / 0.8998 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2454, allocations: 8.031 kB / 0.8998 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.2454, allocations: 3.984 kB / 0.8999 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.529e-05/0.2455, allocations: 163 kB / 0.9 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2455, allocations: 3.938 kB / 0.9 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2456, allocations: 4 kB / 0.9 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.2456, allocations: 37.64 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2457, allocations: 0 / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2457, allocations: 0 / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2457, allocations: 0 / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.2457, allocations: 0 / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.2458, allocations: 153.6 kB / 0.9002 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.2459, allocations: 22.56 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008807/0.2468, allocations: 465.5 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2468, allocations: 30.56 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.444e-06/0.2468, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.247, allocations: 37.64 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.247, allocations: 55.41 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.263e-05/0.247, allocations: 89.86 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.247, allocations: 25.7 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.2471, allocations: 80.14 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2471, allocations: 4 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.2471, allocations: 0 / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.2472, allocations: 314.8 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.2472, allocations: 4.125 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.2472, allocations: 0 / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.875e-05/0.2472, allocations: 7.953 kB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2473, allocations: 0 / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.618e-05/0.2473, allocations: 37.64 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2473, allocations: 4 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2474, allocations: 0 / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2474, allocations: 4 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.2474, allocations: 3.938 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2474, allocations: 0 / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.2475, allocations: 4.094 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2475, allocations: 11.97 kB / 0.9013 GB, free: 62.65 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 (1): * Single equations (assignments): 1 * 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 5.14e-05/0.2475, allocations: 113.8 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.2476, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.2477, allocations: 36.77 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2477, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2477, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2477, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.817e-05/0.2478, allocations: 157.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2478, allocations: 3.953 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.2478, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2478, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2478, allocations: 3.938 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2478, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2479, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.84e-05/0.2479, allocations: 57.12 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.248, allocations: 85.09 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.248, allocations: 4 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.248, allocations: 0 / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.248, allocations: 7.938 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.248, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.462e-05/0.2481, allocations: 75.28 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2481, allocations: 0 / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002765/0.2483, allocations: 12 kB / 0.9019 GB, free: 62 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 (1): * Single equations (assignments): 1 * 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.0002297/0.2486, allocations: 119.2 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.2487, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2487, allocations: 0 / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-06/0.2487, allocations: 0 / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.2488, allocations: 7.984 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.249, allocations: 80.95 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2491, allocations: 0.677 MB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.2491, allocations: 0 / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.2492, allocations: 7.438 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.2492, allocations: 3.938 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.002716/0.2519, allocations: 393.8 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB