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.001844/0.001844, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002413/0.002413, allocations: 220 kB / 22.26 MB, free: 5.121 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002427/0.002427, allocations: 271.2 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.251/1.251, allocations: 180.6 MB / 0.5369 GB, free: 12.94 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002846/0.002846, allocations: 109.7 kB / 0.7396 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2046, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002808/0.2074, allocations: 1.467 MB / 0.8342 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000704/0.2081, allocations: 349.4 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.2081, allocations: 0 / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.2081, allocations: 7.938 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.2082, allocations: 4 kB / 0.8345 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2086, allocations: 95.72 kB / 0.8346 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.452e-05/0.2087, allocations: 23.92 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.2088, allocations: 8 kB / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.2088, allocations: 11.98 kB / 0.8347 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.2088, allocations: 11.92 kB / 0.8347 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2088, allocations: 4 kB / 0.8347 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.2091, allocations: 123.8 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2091, allocations: 4 kB / 0.8348 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2091, allocations: 15.92 kB / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2093, allocations: 84.03 kB / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2093, allocations: 0 / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2093, allocations: 0 / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2093, allocations: 4 kB / 0.8349 GB, free: 6.445 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.0004686/0.2098, allocations: 274.2 kB / 0.8351 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2098, allocations: 17.28 kB / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2099, allocations: 30.75 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.2099, allocations: 4.891 kB / 0.8352 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.21, allocations: 114.5 kB / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.21, allocations: 384 / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.21, allocations: 384 / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2102, allocations: 50.23 kB / 0.8354 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2102, allocations: 3.938 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2102, allocations: 0 / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2102, allocations: 4 kB / 0.8354 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2104, allocations: 31.95 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.2107, allocations: 224 kB / 0.8356 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2108, allocations: 34.5 kB / 0.8356 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.2109, allocations: 28.89 kB / 0.8357 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.2115, allocations: 79.86 kB / 0.8357 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2115, allocations: 34.56 kB / 0.8358 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2115, allocations: 0 / 0.8358 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.2119, allocations: 89.67 kB / 0.8359 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2119, allocations: 51.41 kB / 0.8359 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.212, allocations: 101.8 kB / 0.836 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.212, allocations: 29.64 kB / 0.836 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.2121, allocations: 84.09 kB / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2121, allocations: 7.953 kB / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.2121, allocations: 13.72 kB / 0.8361 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2123, allocations: 310.8 kB / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.2124, allocations: 24 kB / 0.8365 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.2124, allocations: 15.98 kB / 0.8365 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.2126, allocations: 36.83 kB / 0.8365 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2126, allocations: 3.938 kB / 0.8365 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.2127, allocations: 73.84 kB / 0.8366 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2128, allocations: 4 kB / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2128, allocations: 0 / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2128, allocations: 3.984 kB / 0.8366 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2129, allocations: 11.98 kB / 0.8366 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2129, allocations: 3.984 kB / 0.8366 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.2129, allocations: 7.984 kB / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.213, allocations: 0 / 0.8366 GB, free: 4.48 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 8.76e-05/0.213, allocations: 118.5 kB / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2131, allocations: 4 kB / 0.8367 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.2133, allocations: 68.91 kB / 0.8368 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2133, allocations: 0 / 0.8368 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2133, allocations: 0 / 0.8368 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2133, allocations: 0 / 0.8368 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2135, allocations: 140.7 kB / 0.8369 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2135, allocations: 0 / 0.8369 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.2135, allocations: 8.031 kB / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2135, allocations: 0 / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2135, allocations: 0 / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2135, allocations: 3.984 kB / 0.8369 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2135, allocations: 4 kB / 0.8369 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.2138, allocations: 163.4 kB / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.2138, allocations: 11.92 kB / 0.8371 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2138, allocations: 4 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.2139, allocations: 4 kB / 0.8371 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2139, allocations: 3.984 kB / 0.8371 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.2139, allocations: 0 / 0.8371 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.214, allocations: 79.28 kB / 0.8372 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.214, allocations: 0 / 0.8372 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002667/0.2142, allocations: 27.94 kB / 0.8372 GB, free: 3.773 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.0007687/0.215, allocations: 0.7436 MB / 0.838 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2152, allocations: 39.84 kB / 0.838 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2152, allocations: 0 / 0.838 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.2153, allocations: 15.98 kB / 0.838 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2155, allocations: 8.797 kB / 0.838 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.216, allocations: 147.2 kB / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2163, allocations: 0.6768 MB / 0.8388 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.2163, allocations: 0 / 0.8388 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.2164, allocations: 11.44 kB / 0.8388 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2164, allocations: 0 / 0.8388 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2435, allocations: 1.873 MB / 0.8407 GB, free: 304 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.54, allocations: 4.391 kB / 0.8407 GB, free: 304 kB / 0.5762 GB " [Timeout remaining time 649] (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: 15.024501380998117] Failed to read output from testmodel.py, exit status != 0: 10.649296794003021 10.672645372 10.459134287 Calling exit ...