Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.001355/0.001355, allocations: 103.7 kB / 16.45 MB, free: 6.449 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.001367/0.001367, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.002453/0.002453, allocations: 287.7 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.285/1.285, allocations: 180.9 MB / 0.5333 GB, free: 13.87 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",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.002719/0.002719, allocations: 105.7 kB / 0.7343 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1989, allocations: 95.34 MB / 0.8274 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002658/0.2016, allocations: 1.451 MB / 0.8288 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00059/0.2022, allocations: 264.5 kB / 0.829 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.2022, allocations: 0 / 0.829 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.2022, allocations: 7.922 kB / 0.829 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.2023, allocations: 0 / 0.829 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.2026, allocations: 59.81 kB / 0.8291 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.2027, allocations: 23.92 kB / 0.8291 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.2028, allocations: 7.938 kB / 0.8291 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.2028, allocations: 12 kB / 0.8291 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.2029, allocations: 15.92 kB / 0.8292 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.2029, allocations: 0 / 0.8292 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.203, allocations: 67.86 kB / 0.8292 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.203, allocations: 0 / 0.8292 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.203, allocations: 11.94 kB / 0.8292 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2032, allocations: 52.12 kB / 0.8293 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2032, allocations: 0 / 0.8293 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2032, allocations: 0 / 0.8293 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2032, allocations: 0 / 0.8293 GB, free: 8.004 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.0004876/0.2037, allocations: 347.4 kB / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2037, allocations: 15.97 kB / 0.8296 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.2038, allocations: 38.69 kB / 0.8297 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.2038, allocations: 4.891 kB / 0.8297 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2039, allocations: 168.4 kB / 0.8298 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2039, allocations: 384 / 0.8298 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.204, allocations: 384 / 0.8298 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2041, allocations: 51.91 kB / 0.8299 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2041, allocations: 7.938 kB / 0.8299 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.2042, allocations: 3.938 kB / 0.8299 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2042, allocations: 0 / 0.8299 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2043, allocations: 31.97 kB / 0.8299 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.2047, allocations: 248.9 kB / 0.8302 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2048, allocations: 42.5 kB / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.2049, allocations: 20.91 kB / 0.8302 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.2056, allocations: 457.5 kB / 0.8307 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2057, allocations: 34.56 kB / 0.8307 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2057, allocations: 0 / 0.8307 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.206, allocations: 89.53 kB / 0.8308 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2061, allocations: 51.41 kB / 0.8308 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.2062, allocations: 101.8 kB / 0.8309 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2062, allocations: 25.7 kB / 0.8309 GB, free: 6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.2062, allocations: 84.27 kB / 0.831 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2063, allocations: 7.953 kB / 0.831 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2063, allocations: 13.72 kB / 0.831 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2064, allocations: 314.8 kB / 0.8313 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.2065, allocations: 19.98 kB / 0.8314 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.2066, allocations: 11.98 kB / 0.8314 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2068, allocations: 40.89 kB / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2068, allocations: 3.938 kB / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.207, allocations: 69.59 kB / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.207, allocations: 4 kB / 0.8315 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.207, allocations: 0 / 0.8315 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.207, allocations: 0 / 0.8315 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.2071, allocations: 16.02 kB / 0.8315 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2071, allocations: 4 kB / 0.8315 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.2071, allocations: 7.984 kB / 0.8315 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.2071, allocations: 3.938 kB / 0.8315 GB, free: 5.383 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 7.945e-05/0.2072, allocations: 109.8 kB / 0.8316 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.2072, allocations: 4 kB / 0.8316 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.2075, allocations: 80.72 kB / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2075, allocations: 192 / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2075, allocations: 0 / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2075, allocations: 3.984 kB / 0.8317 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2077, allocations: 161.6 kB / 0.8319 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2077, allocations: 0 / 0.8319 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.2077, allocations: 8 kB / 0.8319 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2077, allocations: 3.984 kB / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.2077, allocations: 0 / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.2077, allocations: 0 / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2077, allocations: 0 / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.208, allocations: 175.4 kB / 0.832 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.208, allocations: 81.11 kB / 0.8321 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2081, allocations: 3.938 kB / 0.8321 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2081, allocations: 4 kB / 0.8321 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.2082, allocations: 3.984 kB / 0.8321 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2082, allocations: 4.031 kB / 0.8321 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.2082, allocations: 79.28 kB / 0.8322 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2082, allocations: 0 / 0.8322 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002351/0.2084, allocations: 23.94 kB / 0.8322 GB, free: 4.555 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.0006958/0.2091, allocations: 0.7163 MB / 0.8329 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2094, allocations: 39.89 kB / 0.833 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2094, allocations: 0 / 0.833 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.2094, allocations: 20.05 kB / 0.833 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.2097, allocations: 4 kB / 0.833 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.2101, allocations: 139.2 kB / 0.8331 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.2104, allocations: 0.6768 MB / 0.8338 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.2104, allocations: 0 / 0.8338 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.2104, allocations: 11.44 kB / 0.8338 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2104, allocations: 0 / 0.8338 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.2356, allocations: 1.546 MB / 0.8353 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.125, allocations: 10.83 kB / 0.8353 GB, free: 1.398 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.563618640881032] Failed to read output from testmodel.py, exit status != 0: 8.19405499799177 8.210568405 8.004358388 Calling exit ...