Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001345/0.001345, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001685/0.001685, allocations: 213.8 kB / 23.78 MB, free: 4.523 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9817/0.9817, allocations: 150 MB / 464 MB, free: 10.24 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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="cs",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.002227/0.002227, allocations: 61.59 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1902, allocations: 89.18 MB / 0.729 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003069/0.1932, allocations: 1.444 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005696/0.1938, allocations: 247.2 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1938, allocations: 0 / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.1939, allocations: 0 / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.1939, allocations: 3.938 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1943, allocations: 63.81 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.1943, allocations: 15.98 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.1944, allocations: 15.94 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.1944, allocations: 7.938 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1945, allocations: 11.98 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1945, allocations: 0 / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1946, allocations: 63.92 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1947, allocations: 3.938 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1947, allocations: 8 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1948, allocations: 60 kB / 0.7309 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1948, allocations: 7.938 kB / 0.7309 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1948, allocations: 0 / 0.7309 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1948, allocations: 0 / 0.7309 GB, free: 14.82 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.0004461/0.1953, allocations: 274.3 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1953, allocations: 8.031 kB / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1953, allocations: 192 / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1954, allocations: 30.75 kB / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1954, allocations: 4.938 kB / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1955, allocations: 110.4 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1955, allocations: 4.375 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1955, allocations: 384 / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1957, allocations: 53.98 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1957, allocations: 7.938 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1957, allocations: 0 / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1957, allocations: 0 / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1959, allocations: 35.95 kB / 0.7314 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.1962, allocations: 216 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1964, allocations: 34.56 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.1965, allocations: 20.91 kB / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.1971, allocations: 87.84 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1971, allocations: 34.5 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1971, allocations: 0 / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.1975, allocations: 81.64 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1975, allocations: 55.41 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.1976, allocations: 97.84 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1976, allocations: 25.7 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1977, allocations: 88.14 kB / 0.7322 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1977, allocations: 3.953 kB / 0.7322 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1977, allocations: 13.72 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1979, allocations: 314.8 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.198, allocations: 15.97 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.198, allocations: 28.05 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1982, allocations: 36.77 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1982, allocations: 0 / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.1984, allocations: 65.66 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1984, allocations: 4 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1984, allocations: 4.094 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1984, allocations: 8 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.1985, allocations: 7.984 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1985, allocations: 0 / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1985, allocations: 4 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1985, allocations: 0 / 0.7326 GB, free: 12.88 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 9.303e-05/0.1986, allocations: 127.6 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1987, allocations: 7.953 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1989, allocations: 72.97 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1989, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1989, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1989, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1991, allocations: 128.7 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1991, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.1991, allocations: 12.17 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1991, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1991, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1991, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1991, allocations: 8.016 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1994, allocations: 171.3 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.1994, allocations: 4 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1994, allocations: 0 / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1995, allocations: 7.984 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1995, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1996, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.1996, allocations: 83.28 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1996, allocations: 4.031 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002514/0.1999, allocations: 23.92 kB / 0.7333 GB, free: 12.17 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.0006761/0.2005, allocations: 0.7122 MB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2008, allocations: 43.98 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2008, allocations: 0 / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.2008, allocations: 15.98 kB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2011, allocations: 4 kB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.2015, allocations: 139.1 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.2016, allocations: 59.36 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.2016, allocations: 8.062 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.2016, allocations: 11.44 kB / 0.7342 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2016, allocations: 0 / 0.7342 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2248, allocations: 1.714 MB / 0.7359 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.52, allocations: 7.812 kB / 0.7359 GB, free: 9.527 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.432286983006634] Failed to read output from testmodel.py, exit status != 0: 11.67565204296261 11.691518673000001 11.493541578 Calling exit ...