Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 192.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.05 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2923, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003027/0.2954, allocations: 1.438 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.2961, allocations: 340.8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.2962, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.2962, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.2963, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.2968, allocations: 99.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.2969, allocations: 27.92 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.297, allocations: 11.98 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.297, allocations: 7.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.2971, allocations: 7.984 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2971, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2974, allocations: 119.8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2974, allocations: 7.922 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.2974, allocations: 11.94 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2976, allocations: 83.81 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2976, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2976, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.2977, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 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.0005224/0.2982, allocations: 359.7 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2982, allocations: 8.031 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.2983, allocations: 30.75 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.2983, allocations: 4.938 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2985, allocations: 164.4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2985, allocations: 4.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2985, allocations: 4.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2987, allocations: 54.17 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2987, allocations: 3.938 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2987, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2987, allocations: 3.938 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2989, allocations: 31.95 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.2992, allocations: 245 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2994, allocations: 50.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.2995, allocations: 20.84 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/0.3002, allocations: 461.5 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3003, allocations: 38.56 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3003, allocations: 3.938 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.3007, allocations: 81.55 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3007, allocations: 51.41 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.3008, allocations: 106 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3008, allocations: 29.7 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.3009, allocations: 80.14 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3009, allocations: 7.891 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.301, allocations: 17.72 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3011, allocations: 314.8 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.3012, allocations: 19.97 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.3013, allocations: 19.98 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3014, allocations: 36.83 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3015, allocations: 3.938 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001993/0.3017, allocations: 61.66 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3017, allocations: 8 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3017, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3017, allocations: 4.094 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.3018, allocations: 7.984 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3018, allocations: 3.938 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3019, allocations: 7.984 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3019, allocations: 8 kB / 1.068 GB, free: 9.375 MB / 0.8262 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 8.354e-05/0.302, allocations: 109.8 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.302, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3022, allocations: 76.78 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3023, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3023, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3023, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3025, allocations: 165.5 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3025, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3025, allocations: 11.94 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3025, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.3026, allocations: 3.984 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3026, allocations: 4.031 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3026, allocations: 3.938 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3028, allocations: 163.4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3029, allocations: 81.11 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3029, allocations: 4 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.303, allocations: 32 / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.303, allocations: 11.98 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.303, allocations: 4 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3031, allocations: 79.28 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3031, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002664/0.3034, allocations: 31.94 kB / 1.069 GB, free: 8.543 MB / 0.8262 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.0007406/0.3041, allocations: 0.7361 MB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3043, allocations: 36 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3044, allocations: 4 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.3045, allocations: 11.98 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.3047, allocations: 15.92 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.3051, allocations: 147.1 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.3055, allocations: 0.6808 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.3055, allocations: 3.906 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3055, allocations: 11.44 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3055, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3285, allocations: 1.719 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.031, allocations: 6.766 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)