Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001761/0.001761, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002175/0.002175, allocations: 220.8 kB / 23 MB, free: 5.004 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9241/0.9241, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002074/0.002074, allocations: 70.45 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 89.16 MB / 0.7283 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.003327/0.1886, allocations: 1.463 MB / 0.7298 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005853/0.1892, allocations: 251.3 kB / 0.73 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.1892, allocations: 4 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.1892, allocations: 3.984 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.1893, allocations: 3.938 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1896, allocations: 51.83 kB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.1897, allocations: 27.88 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.1898, allocations: 7.969 kB / 0.7301 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.1899, allocations: 8 kB / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.1899, allocations: 19.92 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1899, allocations: 0 / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1901, allocations: 59.89 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1901, allocations: 3.984 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1901, allocations: 11.94 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1903, allocations: 48.14 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1903, allocations: 0 / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1903, allocations: 0 / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1903, allocations: 3.938 kB / 0.7303 GB, free: 15.38 MB / 0.5606 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.0005198/0.1908, allocations: 274.2 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1908, allocations: 12.03 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.1909, allocations: 34.75 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.1909, allocations: 0.9375 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1911, allocations: 114.5 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1911, allocations: 384 / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.1911, allocations: 384 / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1913, allocations: 54.17 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1913, allocations: 7.922 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1913, allocations: 4 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1914, allocations: 0 / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1915, allocations: 31.97 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.192, allocations: 216 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1921, allocations: 38.5 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.1922, allocations: 32.84 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/0.1929, allocations: 75.89 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1929, allocations: 30.56 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1929, allocations: 7.938 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004109/0.1933, allocations: 77.64 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.1935, allocations: 55.41 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.1936, allocations: 93.86 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1936, allocations: 25.7 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.1937, allocations: 88.14 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1937, allocations: 12.06 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1937, allocations: 9.719 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1939, allocations: 318.8 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.194, allocations: 15.92 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.1941, allocations: 15.98 kB / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1942, allocations: 44.88 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1942, allocations: 3.938 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002127/0.1944, allocations: 65.66 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1945, allocations: 4 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1945, allocations: 0 / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1945, allocations: 0 / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.1946, allocations: 11.94 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1946, allocations: 8.016 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1946, allocations: 7.938 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1946, allocations: 0 / 0.732 GB, free: 13.43 MB / 0.5606 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 0.0001073/0.1947, allocations: 111.8 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1948, allocations: 15.95 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.195, allocations: 68.95 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.195, allocations: 32 / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.195, allocations: 4 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.195, allocations: 4 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1952, allocations: 128.7 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1952, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1953, allocations: 7.984 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1953, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1953, allocations: 4 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1953, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1953, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1956, allocations: 171.4 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.1956, allocations: 0 / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1956, allocations: 0 / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1957, allocations: 7.984 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1957, allocations: 0 / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1957, allocations: 4 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.1958, allocations: 87.3 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1958, allocations: 4 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002586/0.196, allocations: 19.88 kB / 0.7326 GB, free: 12.73 MB / 0.5606 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.0007679/0.1968, allocations: 0.7204 MB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.197, allocations: 31.97 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.197, allocations: 0 / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.1971, allocations: 24.05 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.1973, allocations: 4 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.1978, allocations: 147 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1981, allocations: 0.6729 MB / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.1981, allocations: 3.984 kB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1982, allocations: 15.38 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1982, allocations: 0 / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.2342, allocations: 1.617 MB / 0.7357 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.16, allocations: 11.22 kB / 0.7358 GB, free: 9.527 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.950422169174999] Failed to read output from testmodel.py, exit status != 0: 11.265467972960323 11.296075103 11.10027945 Calling exit ...