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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009978/0.0009978, allocations: 187.8 kB / 325.9 MB, free: 2.656 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.774/1.774, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007386/0.0007385, allocations: 97.81 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 10.12 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001477/0.2055, allocations: 1.18 MB / 0.8973 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005113/0.206, allocations: 245 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.206, allocations: 4 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.2061, allocations: 0 / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.2061, allocations: 7.922 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2065, allocations: 51.89 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.675e-05/0.2065, allocations: 15.98 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.2066, allocations: 3.938 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.2067, allocations: 11.94 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.2067, allocations: 7.984 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.2067, allocations: 0 / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2069, allocations: 75.81 kB / 0.8977 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.2069, allocations: 3.984 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.2069, allocations: 11.88 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2071, allocations: 47.92 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2071, allocations: 7.984 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2071, allocations: 0 / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2071, allocations: 0 / 0.8978 GB, free: 66.36 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.0004168/0.2075, allocations: 339.6 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2076, allocations: 12.03 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.2076, allocations: 34.75 kB / 0.8982 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2076, allocations: 0.9375 kB / 0.8982 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.2077, allocations: 168.3 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2077, allocations: 4.359 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2077, allocations: 4.312 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2079, allocations: 62.17 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2079, allocations: 3.938 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.208, allocations: 0 / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.208, allocations: 4 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2082, allocations: 43.95 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.2084, allocations: 245 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2085, allocations: 50.42 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.2086, allocations: 32.91 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/0.2092, allocations: 445.5 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2092, allocations: 38.56 kB / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2092, allocations: 0 / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003202/0.2095, allocations: 93.64 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.2095, allocations: 55.34 kB / 0.8994 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.2096, allocations: 110 kB / 0.8995 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2096, allocations: 25.7 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.2096, allocations: 80.14 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2097, allocations: 11.84 kB / 0.8996 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.2097, allocations: 9.719 kB / 0.8996 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.2098, allocations: 318.8 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.2098, allocations: 19.98 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.2099, allocations: 23.98 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2101, allocations: 52.88 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.2101, allocations: 3.938 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001719/0.2102, allocations: 69.67 kB / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2103, allocations: 7.938 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2103, allocations: 0 / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2103, allocations: 4.031 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.2104, allocations: 15.98 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2104, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.2105, allocations: 15.89 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.2105, allocations: 3.938 kB / 0.9001 GB, free: 63.67 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 6.589e-05/0.2105, allocations: 113.8 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2106, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.2108, allocations: 84.78 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2108, allocations: 4 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2108, allocations: 0 / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2108, allocations: 3.938 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.211, allocations: 161.6 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.211, allocations: 8.031 kB / 0.9005 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.211, allocations: 15.92 kB / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.211, allocations: 0 / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.211, allocations: 0 / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2111, allocations: 0 / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2111, allocations: 0 / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2113, allocations: 179.5 kB / 0.9007 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2113, allocations: 77.11 kB / 0.9007 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2113, allocations: 0 / 0.9007 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.2114, allocations: 7.984 kB / 0.9007 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2114, allocations: 8.219 kB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2114, allocations: 0 / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.2115, allocations: 83.27 kB / 0.9008 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2115, allocations: 0 / 0.9008 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003427/0.2118, allocations: 15.98 kB / 0.9008 GB, free: 62.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 (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.0004754/0.2123, allocations: 0.7279 MB / 0.9016 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2125, allocations: 55.98 kB / 0.9016 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2125, allocations: 0 / 0.9016 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.2126, allocations: 23.92 kB / 0.9016 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2128, allocations: 4.125 kB / 0.9016 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.2132, allocations: 137.2 kB / 0.9018 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2133, allocations: 0.677 MB / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.2134, allocations: 3.938 kB / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2134, allocations: 11.44 kB / 0.9024 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2134, allocations: 0 / 0.9024 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.2242, allocations: 1.26 MB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.2244, allocations: 207.2 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.726, allocations: 3.938 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)