Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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.315/1.315, allocations: 252 MB / 267 MB, free: 10.98 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.001007/0.001007, allocations: 182.7 kB / 326.6 MB, free: 2.203 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.565/1.565, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007401/0.0007402, allocations: 91.64 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 16.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0006758/0.2096, allocations: 326 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005193/0.2101, allocations: 260.7 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.2102, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.2102, allocations: 4 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.2102, allocations: 3.938 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.2107, allocations: 71.86 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.2107, allocations: 0 / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.2108, allocations: 0 / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.2108, allocations: 0 / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.745e-05/0.2108, allocations: 11.97 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.2108, allocations: 0 / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.2111, allocations: 123.8 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.2111, allocations: 4 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.2112, allocations: 29.64 kB / 0.9011 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2113, allocations: 43.92 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2113, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2113, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.2113, allocations: 0 / 0.9012 GB, free: 62.91 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.0002403/0.2115, allocations: 319.4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2116, allocations: 12.03 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.2116, allocations: 34.55 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.2117, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.314e-05/0.2117, allocations: 167 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2117, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2118, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.2118, allocations: 29.7 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.2119, allocations: 0 / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2119, allocations: 4 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2119, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.2119, allocations: 3.938 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.212, allocations: 149.6 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.2121, allocations: 22.61 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.2121, allocations: 4.859 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.2128, allocations: 461.5 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2128, allocations: 42.44 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2128, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.2129, allocations: 41.62 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.213, allocations: 51.41 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.213, allocations: 93.86 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.213, allocations: 25.7 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.213, allocations: 80.14 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.213, allocations: 0 / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.213, allocations: 4.125 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2131, allocations: 310.8 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.2131, allocations: 3.984 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.2131, allocations: 4 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2132, allocations: 3.953 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2132, allocations: 0 / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.651e-05/0.2132, allocations: 37.64 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2132, allocations: 8 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2132, allocations: 96 / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2133, allocations: 8 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.2133, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2133, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.2133, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2134, allocations: 4 kB / 0.903 GB, free: 60.71 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.041e-05/0.2134, allocations: 113.8 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.2134, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.2135, allocations: 32.83 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2135, allocations: 4.031 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2135, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2135, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.918e-05/0.2136, allocations: 157.6 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2136, allocations: 3.953 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.2136, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2136, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.2136, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2136, allocations: 4 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2136, allocations: 0 / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.359e-05/0.2137, allocations: 61.12 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.2137, allocations: 85 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.2137, allocations: 0 / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.2137, allocations: 4 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.2138, allocations: 0 / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.2138, allocations: 0 / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.224e-05/0.2138, allocations: 75.28 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2138, allocations: 3.938 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002156/0.214, allocations: 32.02 kB / 0.9036 GB, free: 60.04 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.0003924/0.2144, allocations: 0.6397 MB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.305e-05/0.2145, allocations: 3.984 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2145, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.2145, allocations: 4 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.2146, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.2149, allocations: 116.3 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2151, allocations: 0.6733 MB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.364e-05/0.2151, allocations: 4 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.2151, allocations: 7.438 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2151, allocations: 0 / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.2259, allocations: 1.222 MB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.226, allocations: 199.2 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.708, allocations: 0 / 0.9063 GB, free: 57.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)