Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 287.2 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.267/1.267, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 100.6 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1973, allocations: 95.34 MB / 0.8274 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002636/0.1999, allocations: 1.465 MB / 0.8288 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.2006, allocations: 353.8 kB / 0.8291 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.2006, allocations: 0 / 0.8291 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2007, allocations: 4 kB / 0.8291 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.2007, allocations: 3.938 kB / 0.8291 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.2011, allocations: 103.7 kB / 0.8292 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.2012, allocations: 23.92 kB / 0.8293 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.2013, allocations: 3.938 kB / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.2013, allocations: 8 kB / 0.8293 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.2014, allocations: 11.92 kB / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.2014, allocations: 0 / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.2016, allocations: 131.7 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.2016, allocations: 0 / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2016, allocations: 15.94 kB / 0.8294 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2018, allocations: 88.02 kB / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2018, allocations: 0 / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2018, allocations: 0 / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2018, allocations: 0 / 0.8295 GB, free: 7.641 MB / 0.5762 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.000532/0.2024, allocations: 355.3 kB / 0.8298 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2024, allocations: 8.031 kB / 0.8298 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.2025, allocations: 30.75 kB / 0.8299 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.2025, allocations: 8.891 kB / 0.8299 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2026, allocations: 176.3 kB / 0.8301 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2026, allocations: 384 / 0.8301 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2026, allocations: 4.375 kB / 0.8301 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2028, allocations: 46.23 kB / 0.8301 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2028, allocations: 3.938 kB / 0.8301 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2028, allocations: 4 kB / 0.8301 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2028, allocations: 0 / 0.8301 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.203, allocations: 35.95 kB / 0.8301 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.2033, allocations: 241 kB / 0.8304 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2035, allocations: 46.42 kB / 0.8304 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.2036, allocations: 24.89 kB / 0.8304 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/0.2044, allocations: 461.4 kB / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2044, allocations: 34.55 kB / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2044, allocations: 0 / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000381/0.2048, allocations: 89.55 kB / 0.831 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2048, allocations: 51.41 kB / 0.8311 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.2049, allocations: 101.8 kB / 0.8311 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2049, allocations: 29.7 kB / 0.8312 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.205, allocations: 80.14 kB / 0.8313 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.205, allocations: 3.953 kB / 0.8313 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.205, allocations: 21.7 kB / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2051, allocations: 315 kB / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.2052, allocations: 15.98 kB / 0.8316 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.2053, allocations: 15.98 kB / 0.8316 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.2055, allocations: 36.81 kB / 0.8316 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2055, allocations: 3.938 kB / 0.8316 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.2057, allocations: 69.67 kB / 0.8317 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2057, allocations: 7.938 kB / 0.8317 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2057, allocations: 0 / 0.8317 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2057, allocations: 7.984 kB / 0.8317 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.2058, allocations: 4 kB / 0.8317 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2058, allocations: 0 / 0.8317 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.2058, allocations: 11.98 kB / 0.8317 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.2058, allocations: 0 / 0.8317 GB, free: 5.016 MB / 0.5762 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 9.043e-05/0.2059, allocations: 117.8 kB / 0.8319 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.206, allocations: 0 / 0.8319 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.2062, allocations: 68.78 kB / 0.8319 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2062, allocations: 7.938 kB / 0.8319 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2062, allocations: 7.984 kB / 0.8319 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2062, allocations: 0 / 0.8319 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2064, allocations: 157.6 kB / 0.8321 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2064, allocations: 4.031 kB / 0.8321 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.2064, allocations: 7.984 kB / 0.8321 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2064, allocations: 4 kB / 0.8321 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2064, allocations: 0 / 0.8321 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2064, allocations: 0 / 0.8321 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2064, allocations: 0 / 0.8321 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.2067, allocations: 175.3 kB / 0.8323 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2068, allocations: 77.11 kB / 0.8323 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2068, allocations: 0 / 0.8323 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.2068, allocations: 7.984 kB / 0.8324 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.2069, allocations: 4 kB / 0.8324 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2069, allocations: 0 / 0.8324 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.2069, allocations: 79.28 kB / 0.8324 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2069, allocations: 3.938 kB / 0.8324 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002695/0.2072, allocations: 35.92 kB / 0.8325 GB, free: 4.176 MB / 0.5762 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.000726/0.2079, allocations: 0.7358 MB / 0.8332 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2081, allocations: 31.97 kB / 0.8332 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2082, allocations: 0 / 0.8332 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.2082, allocations: 23.91 kB / 0.8332 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2085, allocations: 12.12 kB / 0.8333 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.2089, allocations: 143.2 kB / 0.8334 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2092, allocations: 0.6768 MB / 0.834 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.2092, allocations: 0 / 0.834 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.2093, allocations: 7.438 kB / 0.8341 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2093, allocations: 7.938 kB / 0.8341 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2365, allocations: 1.773 MB / 0.8358 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.197, allocations: 4.703 kB / 0.8358 GB, free: 0.7617 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.562476995866746] Failed to read output from testmodel.py, exit status != 0: 8.2689424068667 8.295316322 8.088757812 Calling exit ...