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.001875/0.001875, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002255/0.002255, allocations: 221 kB / 23 MB, free: 4.973 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.005/1.005, allocations: 149.9 MB / 463 MB, free: 10.33 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.002159/0.002159, allocations: 62.34 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2086, allocations: 89.17 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002722/0.2113, allocations: 1.446 MB / 0.7296 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.2118, allocations: 227.3 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.2119, allocations: 8 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.2119, allocations: 0 / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.2119, allocations: 3.938 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2123, allocations: 59.81 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.2123, allocations: 27.92 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.2124, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.2125, allocations: 11.92 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.2125, allocations: 8 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.2125, allocations: 0 / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2126, allocations: 63.86 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2127, allocations: 7.938 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.2127, allocations: 8 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2128, allocations: 60.06 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2128, allocations: 0 / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2128, allocations: 0 / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.2128, allocations: 0 / 0.73 GB, free: 15.11 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.0004769/0.2133, allocations: 270.3 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2134, allocations: 8.031 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.2134, allocations: 30.75 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.2134, allocations: 0.9375 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2136, allocations: 118.4 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2136, allocations: 8.297 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2136, allocations: 4.375 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2138, allocations: 50.17 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2138, allocations: 7.938 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2138, allocations: 0 / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2138, allocations: 0 / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.214, allocations: 31.95 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.2143, allocations: 216 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2144, allocations: 46.47 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2145, allocations: 20.91 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/0.2151, allocations: 67.92 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2151, allocations: 46.55 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2151, allocations: 0 / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003661/0.2155, allocations: 81.59 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2155, allocations: 51.41 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.2156, allocations: 97.84 kB / 0.7311 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2156, allocations: 25.7 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.2157, allocations: 92.08 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2157, allocations: 3.953 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2157, allocations: 17.83 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2159, allocations: 318.8 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.216, allocations: 11.98 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.2161, allocations: 15.98 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2163, allocations: 40.81 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2163, allocations: 3.938 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.2165, allocations: 65.73 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2165, allocations: 4 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2165, allocations: 3.984 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2165, allocations: 0 / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.2166, allocations: 11.94 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2166, allocations: 0 / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.2166, allocations: 7.984 kB / 0.7317 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2167, allocations: 0 / 0.7317 GB, free: 13.17 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.492e-05/0.2167, allocations: 121.8 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.2168, allocations: 3.953 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.217, allocations: 64.97 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.217, allocations: 4 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.217, allocations: 3.984 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.217, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2172, allocations: 124.7 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2172, allocations: 0 / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.2172, allocations: 16.02 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2172, allocations: 3.938 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2172, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2172, allocations: 3.938 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2172, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2175, allocations: 163.5 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.2175, allocations: 4 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2175, allocations: 3.984 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.2176, allocations: 11.97 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2176, allocations: 4.172 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2176, allocations: 4 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.2177, allocations: 87.27 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.2179, allocations: 19.94 kB / 0.7324 GB, free: 12.46 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.0007006/0.2186, allocations: 0.7162 MB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2189, allocations: 31.97 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2189, allocations: 4 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.219, allocations: 19.97 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2192, allocations: 10.31 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.2197, allocations: 139.1 kB / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.2197, allocations: 59.34 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.2198, allocations: 0 / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.2198, allocations: 15.44 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2198, allocations: 0 / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.25, allocations: 2.045 MB / 0.7353 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.41, allocations: 8.297 kB / 0.7353 GB, free: 9.469 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.454365339130163] Failed to read output from testmodel.py, exit status != 0: 11.5234754239209 11.551033149 11.333485125 Calling exit ...