Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001367/0.001367, allocations: 184.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.0009326, allocations: 86.72 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 11.19 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00166/0.2341, allocations: 1.148 MB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005352/0.2347, allocations: 232.4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.2347, allocations: 0 / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.2348, allocations: 3.938 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.2348, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.2352, allocations: 35.91 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.2352, allocations: 23.92 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.2353, allocations: 4 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.996e-05/0.2354, allocations: 7.984 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.2354, allocations: 11.92 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.2354, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.2356, allocations: 63.88 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.2356, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.2357, allocations: 33.7 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2358, allocations: 35.92 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2358, allocations: 8 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2358, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2358, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 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.0004305/0.2363, allocations: 347.5 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2363, allocations: 12.02 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.2364, allocations: 38.5 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2364, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.2365, allocations: 171 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2366, allocations: 4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2366, allocations: 0 / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2368, allocations: 53.67 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2368, allocations: 0 / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2368, allocations: 4 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2369, allocations: 0 / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.2371, allocations: 47.95 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.2375, allocations: 248.9 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2377, allocations: 46.55 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2379, allocations: 24.91 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.2386, allocations: 461.4 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2387, allocations: 34.55 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.125e-06/0.2387, allocations: 3.938 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005334/0.2392, allocations: 101.5 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2393, allocations: 55.39 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.2394, allocations: 106 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2394, allocations: 25.7 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.2394, allocations: 80.14 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2394, allocations: 3.906 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.2395, allocations: 4.125 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2395, allocations: 322.8 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2397, allocations: 15.98 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2398, allocations: 23.98 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.24, allocations: 20.05 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.24, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003152/0.2403, allocations: 77.59 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2403, allocations: 12.03 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2403, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2404, allocations: 4.031 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2405, allocations: 11.98 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.2405, allocations: 0 / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.2406, allocations: 11.98 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.2406, allocations: 7.953 kB / 0.9823 GB, free: 24.01 MB / 0.6198 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 6.531e-05/0.2407, allocations: 113.8 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2407, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.2411, allocations: 80.78 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2411, allocations: 0 / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2411, allocations: 8.031 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2411, allocations: 3.938 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2413, allocations: 161.6 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2413, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2415, allocations: 8 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2415, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.2415, allocations: 3.984 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2415, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2415, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.2419, allocations: 183.3 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.2419, allocations: 81.11 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2419, allocations: 0 / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2421, allocations: 12.03 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2421, allocations: 3.984 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2421, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.2422, allocations: 79.28 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2422, allocations: 0 / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003085/0.2425, allocations: 15.94 kB / 0.983 GB, free: 23.16 MB / 0.6198 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.0007069/0.2432, allocations: 0.7319 MB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.2436, allocations: 43.95 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2436, allocations: 8 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2437, allocations: 27.98 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2441, allocations: 2.188 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.2445, allocations: 143.2 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2447, allocations: 0.677 MB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.2448, allocations: 0 / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.2448, allocations: 15.5 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2448, allocations: 0 / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.265, allocations: 1.248 MB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.2653, allocations: 176.1 kB / 0.986 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.724, allocations: 0 / 0.986 GB, free: 20.06 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)