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.001295/0.001295, 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.001481/0.001481, allocations: 216.7 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.465/1.465, allocations: 230.6 MB / 257.6 MB, free: 7.797 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 1.027/1.027, allocations: 150 MB / 464 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.002104/0.002104, allocations: 61.44 kB / 0.642 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2159, allocations: 89.18 MB / 0.729 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.003343/0.2192, allocations: 1.448 MB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.2198, allocations: 227.3 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.2198, allocations: 4 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.2199, allocations: 0 / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.2199, allocations: 7.875 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.2203, allocations: 59.83 kB / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.2203, allocations: 23.92 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.2204, allocations: 7.984 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.2205, allocations: 11.92 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.2205, allocations: 8 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2205, allocations: 0 / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2207, allocations: 63.88 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.2207, allocations: 3.938 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.2207, allocations: 8 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2209, allocations: 52.08 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2209, allocations: 0 / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2209, allocations: 4 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2209, allocations: 0 / 0.7309 GB, free: 14.86 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.0005058/0.2214, allocations: 274.2 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2214, allocations: 12.03 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.551e-05/0.2214, allocations: 4.188 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2215, allocations: 30.75 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.2215, allocations: 4.938 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2216, allocations: 106.5 kB / 0.7313 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2216, allocations: 4.312 kB / 0.7313 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2216, allocations: 4.375 kB / 0.7313 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2218, allocations: 57.98 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2218, allocations: 0 / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2219, allocations: 0 / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2219, allocations: 0 / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.222, allocations: 35.95 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.2224, allocations: 212 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2225, allocations: 46.48 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.2226, allocations: 24.84 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.2232, allocations: 71.92 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2232, allocations: 30.56 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2232, allocations: 0 / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.2236, allocations: 81.64 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2236, allocations: 55.34 kB / 0.7319 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.2237, allocations: 101.8 kB / 0.732 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2237, allocations: 25.7 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.2238, allocations: 88.14 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2238, allocations: 7.938 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.2238, allocations: 13.72 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.224, allocations: 314.8 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.2241, allocations: 20.11 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.2241, allocations: 19.92 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2243, allocations: 44.75 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2243, allocations: 0 / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.2245, allocations: 69.67 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2245, allocations: 4 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2245, allocations: 4 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2245, allocations: 0 / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.2246, allocations: 11.98 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.2246, allocations: 0 / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.2247, allocations: 7.984 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2247, allocations: 192 / 0.7326 GB, free: 12.91 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.0001289/0.2248, allocations: 115.8 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2248, allocations: 3.953 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2251, allocations: 80.98 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2251, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2251, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2251, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.2254, allocations: 128.7 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2254, allocations: 0 / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.2254, allocations: 15.92 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2254, allocations: 0 / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2255, allocations: 4.031 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2255, allocations: 0 / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2255, allocations: 3.938 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.2258, allocations: 163.5 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.2258, allocations: 4 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2258, allocations: 0 / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2259, allocations: 7.984 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.226, allocations: 0 / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.226, allocations: 4.031 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.2261, allocations: 87.27 kB / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2261, allocations: 0 / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003872/0.2264, allocations: 19.94 kB / 0.7332 GB, free: 12.21 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.001041/0.2275, allocations: 0.7201 MB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.2277, allocations: 35.97 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2277, allocations: 0 / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.2278, allocations: 19.92 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.228, allocations: 11.81 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.2285, allocations: 143 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.2286, allocations: 67.47 kB / 0.7342 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.2286, allocations: 0 / 0.7342 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2286, allocations: 11.44 kB / 0.7342 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2286, allocations: 0 / 0.7342 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2517, allocations: 1.691 MB / 0.7359 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.64, allocations: 8.047 kB / 0.7359 GB, free: 9.574 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.512709951028228] Failed to read output from testmodel.py, exit status != 0: 11.808310926076956 11.830948118 11.605709066 Calling exit ...