Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0",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.391/1.391, allocations: 252 MB / 267 MB, free: 10.97 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.001088/0.001088, allocations: 186.5 kB / 326.6 MB, free: 2.215 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.874/1.874, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0009234/0.0009233, allocations: 82.42 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8.906 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2107, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001484/0.2122, allocations: 1.157 MB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005627/0.2128, allocations: 324.2 kB / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.2129, allocations: 0 / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.2129, allocations: 3.938 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.2129, allocations: 0 / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2134, allocations: 79.8 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.2134, allocations: 19.92 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.2135, allocations: 7.984 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.2136, allocations: 4 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.2136, allocations: 15.98 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.2136, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.2139, allocations: 123.8 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.2139, allocations: 7.938 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.2139, allocations: 29.7 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.214, allocations: 51.91 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2141, allocations: 0 / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2141, allocations: 0 / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2141, allocations: 0 / 0.9021 GB, free: 62.34 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.0003965/0.2145, allocations: 355.4 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2145, allocations: 12.03 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2146, allocations: 30.56 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.2146, allocations: 4 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.2147, allocations: 171.2 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2147, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.2147, allocations: 3.938 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2149, allocations: 61.61 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2149, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2149, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.2149, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2151, allocations: 47.95 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.2154, allocations: 248.9 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2155, allocations: 54.47 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.2156, allocations: 24.91 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.2162, allocations: 461.5 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2163, allocations: 34.56 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2163, allocations: 3.938 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.2166, allocations: 97.75 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.2167, allocations: 55.39 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.2167, allocations: 97.81 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.2167, allocations: 25.7 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.2168, allocations: 84.14 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2168, allocations: 11.84 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2168, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2169, allocations: 314.8 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.2169, allocations: 24.02 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.217, allocations: 19.98 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.2171, allocations: 24.05 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2171, allocations: 4 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.2173, allocations: 73.66 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2173, allocations: 4 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2173, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2174, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.2175, allocations: 16.02 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2175, allocations: 0 / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.2175, allocations: 11.98 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2175, allocations: 3.953 kB / 0.9043 GB, free: 59.69 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 6.105e-05/0.2176, allocations: 117.8 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2176, allocations: 3.906 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.2179, allocations: 80.78 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2179, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2179, allocations: 3.938 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2179, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.218, allocations: 161.6 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.218, allocations: 4.031 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.2181, allocations: 12 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.2181, allocations: 7.984 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.2181, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2181, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2181, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.2184, allocations: 175.4 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.2184, allocations: 77.11 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2184, allocations: 8 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.2185, allocations: 7.984 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.2186, allocations: 4 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2186, allocations: 8.031 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.2186, allocations: 75.28 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2186, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002823/0.2189, allocations: 31.92 kB / 0.9051 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.0006826/0.2196, allocations: 0.7514 MB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.2199, allocations: 43.97 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2199, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.22, allocations: 28.05 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2203, allocations: 5.359 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2208, allocations: 146.3 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.221, allocations: 0.677 MB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.2211, allocations: 3.938 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2211, allocations: 15.5 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2211, allocations: 0 / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.2334, allocations: 1.504 MB / 0.9082 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.2337, allocations: 181.1 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.839, allocations: 4 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)