Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001355/0.001355, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.001567/0.001567, allocations: 219.1 kB / 22.99 MB, free: 4.969 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 / 256.8 MB, free: 7.805 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.9933/0.9933, allocations: 149.9 MB / 463 MB, free: 10.36 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.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.003066/0.003066, allocations: 79.72 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2281, allocations: 89.17 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001827/0.2299, allocations: 0.5741 MB / 0.7288 GB, free: 404 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005038/0.2304, allocations: 175.4 kB / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.2304, allocations: 0 / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.2304, allocations: 0 / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.2304, allocations: 0 / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.2308, allocations: 47.84 kB / 0.729 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.2308, allocations: 4 kB / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.2309, allocations: 0 / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.2309, allocations: 3.984 kB / 0.729 GB, free: 172 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.2309, allocations: 0 / 0.729 GB, free: 172 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.2309, allocations: 0 / 0.729 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.2311, allocations: 63.88 kB / 0.729 GB, free: 108 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2311, allocations: 4 kB / 0.729 GB, free: 104 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.2311, allocations: 3.938 kB / 0.729 GB, free: 100 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2312, allocations: 36.16 kB / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2313, allocations: 0 / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2313, allocations: 0 / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2313, allocations: 0 / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004119/0.2317, allocations: 246.4 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2317, allocations: 12.03 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.2318, allocations: 34.75 kB / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.2318, allocations: 0.9375 kB / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.2319, allocations: 102.5 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.2319, allocations: 12.25 kB / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2319, allocations: 384 / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.232, allocations: 30.27 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.232, allocations: 3.938 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.232, allocations: 0 / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.232, allocations: 0 / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.232, allocations: 0 / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2322, allocations: 124.8 kB / 0.7296 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.2322, allocations: 22.5 kB / 0.7296 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.2322, allocations: 8.953 kB / 0.7297 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.2328, allocations: 71.92 kB / 0.7297 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2328, allocations: 34.56 kB / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.2328, allocations: 0 / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.2329, allocations: 37.62 kB / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.233, allocations: 51.41 kB / 0.7298 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.233, allocations: 93.98 kB / 0.7299 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.233, allocations: 29.7 kB / 0.73 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.2331, allocations: 80.14 kB / 0.73 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.2331, allocations: 3.953 kB / 0.73 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.2331, allocations: 17.66 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2333, allocations: 310.8 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.2333, allocations: 3.938 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.2333, allocations: 4 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.2333, allocations: 4.859 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2333, allocations: 4 kB / 0.7304 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.439e-05/0.2334, allocations: 41.75 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2334, allocations: 4 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2334, allocations: 3.938 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2334, allocations: 0 / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.2334, allocations: 4 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2334, allocations: 3.938 kB / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-06/0.2335, allocations: 0 / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.2335, allocations: 0 / 0.7304 GB, free: 14.49 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 (1): * Single equations (assignments): 1 * 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 8.052e-05/0.2335, allocations: 109.8 kB / 0.7305 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.2335, allocations: 4.016 kB / 0.7305 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.2336, allocations: 44.64 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2336, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2336, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2336, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2337, allocations: 120.8 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2337, allocations: 0 / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.2337, allocations: 0 / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2337, allocations: 3.938 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2338, allocations: 7.938 kB / 0.7307 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2338, allocations: 0 / 0.7307 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2338, allocations: 4.031 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.2338, allocations: 61.08 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.2338, allocations: 3.984 kB / 0.7308 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.2338, allocations: 7.938 kB / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.2339, allocations: 0 / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2339, allocations: 0 / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-06/0.2339, allocations: 0 / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.2339, allocations: 79.28 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2339, allocations: 0 / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001944/0.2341, allocations: 15.94 kB / 0.7309 GB, free: 13.96 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 (1): * Single equations (assignments): 1 * 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.000492/0.2346, allocations: 0.6162 MB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.544e-05/0.2347, allocations: 7.938 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2347, allocations: 0 / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-06/0.2347, allocations: 4 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2348, allocations: 4.156 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.2351, allocations: 110.6 kB / 0.7316 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.2352, allocations: 55.34 kB / 0.7316 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.908e-06/0.2352, allocations: 0 / 0.7316 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.2352, allocations: 11.44 kB / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2352, allocations: 0 / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.2645, allocations: 1.647 MB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.26, allocations: 5.562 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.061084344983101] Failed to read output from testmodel.py, exit status != 0: 11.37335538584739 11.403843504 11.167104261 Calling exit ...