Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.001239/0.001239, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001491/0.001491, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002546/0.002546, allocations: 289.7 kB / 313.5 MB, free: 2.602 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.288/1.288, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="cs",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.002797/0.002797, allocations: 100.3 kB / 0.7403 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1993, allocations: 95.38 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002717/0.202, allocations: 1.452 MB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005405/0.2025, allocations: 228.1 kB / 0.835 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.2026, allocations: 0 / 0.835 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.2026, allocations: 7.875 kB / 0.8351 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.2026, allocations: 3.938 kB / 0.8351 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.203, allocations: 51.89 kB / 0.8351 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.203, allocations: 23.92 kB / 0.8351 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.2031, allocations: 7.984 kB / 0.8351 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.2032, allocations: 15.92 kB / 0.8352 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.2032, allocations: 8 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.2032, allocations: 0 / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2034, allocations: 63.88 kB / 0.8352 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.2034, allocations: 0 / 0.8352 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2034, allocations: 11.94 kB / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2036, allocations: 56.06 kB / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2036, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2036, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2036, allocations: 0 / 0.8353 GB, free: 6.383 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.000446/0.204, allocations: 278.2 kB / 0.8356 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2041, allocations: 9.344 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.2041, allocations: 4.125 kB / 0.8356 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.2041, allocations: 34.75 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.2041, allocations: 8.891 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2042, allocations: 102.5 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2042, allocations: 4.375 kB / 0.8357 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2043, allocations: 4.359 kB / 0.8357 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2044, allocations: 53.98 kB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2044, allocations: 0 / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2044, allocations: 4 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2044, allocations: 0 / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2046, allocations: 35.95 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.2049, allocations: 215.9 kB / 0.836 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2051, allocations: 40.27 kB / 0.836 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.2051, allocations: 20.91 kB / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.2056, allocations: 75.92 kB / 0.8361 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2057, allocations: 38.55 kB / 0.8362 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2057, allocations: 0 / 0.8362 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003464/0.206, allocations: 77.72 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2061, allocations: 55.41 kB / 0.8363 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.2061, allocations: 101.8 kB / 0.8364 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2062, allocations: 33.64 kB / 0.8364 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.2062, allocations: 84.09 kB / 0.8365 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.2062, allocations: 11.94 kB / 0.8365 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2063, allocations: 17.7 kB / 0.8365 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2064, allocations: 310.8 kB / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.2065, allocations: 19.92 kB / 0.8369 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.2066, allocations: 19.98 kB / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.2067, allocations: 40.75 kB / 0.8369 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2067, allocations: 4 kB / 0.8369 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.2069, allocations: 65.61 kB / 0.837 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2069, allocations: 8 kB / 0.837 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2069, allocations: 0 / 0.837 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2069, allocations: 8.078 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.207, allocations: 8 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.207, allocations: 0 / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.2071, allocations: 7.984 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2071, allocations: 4 kB / 0.837 GB, free: 4.418 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.301e-05/0.2072, allocations: 110.4 kB / 0.8371 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2072, allocations: 0 / 0.8371 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2074, allocations: 80.91 kB / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2074, allocations: 0 / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2074, allocations: 3.984 kB / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2074, allocations: 0 / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2076, allocations: 124.7 kB / 0.8373 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2076, allocations: 0 / 0.8373 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.2077, allocations: 11.98 kB / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2077, allocations: 0 / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2077, allocations: 0 / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2077, allocations: 0 / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2077, allocations: 0 / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2079, allocations: 175.4 kB / 0.8375 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.2079, allocations: 3.938 kB / 0.8375 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.208, allocations: 0 / 0.8375 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.208, allocations: 7.984 kB / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2081, allocations: 0 / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2081, allocations: 8.172 kB / 0.8375 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.2081, allocations: 87.2 kB / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2081, allocations: 0 / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002389/0.2084, allocations: 19.97 kB / 0.8376 GB, free: 3.719 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.0006509/0.209, allocations: 0.7124 MB / 0.8383 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2092, allocations: 43.94 kB / 0.8384 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2092, allocations: 0 / 0.8384 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.2093, allocations: 19.97 kB / 0.8384 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2095, allocations: 7.938 kB / 0.8384 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.21, allocations: 139.2 kB / 0.8385 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.891e-05/0.2101, allocations: 59.34 kB / 0.8386 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.2101, allocations: 3.984 kB / 0.8386 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.2101, allocations: 19.56 kB / 0.8386 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2101, allocations: 0 / 0.8386 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.2324, allocations: 1.711 MB / 0.8403 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.28, allocations: 6.016 kB / 0.8403 GB, free: 1.074 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.66329570999369] Failed to read output from testmodel.py, exit status != 0: 11.452639179071411 11.469110048 11.262343844 Calling exit ...