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.000998/0.000998, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001003/0.001003, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 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 0.9051/0.9051, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.601/0.601, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.538e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001697/0.001722, allocations: 0.5808 MB / 0.5548 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.002134, allocations: 175.3 kB / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.00215, allocations: 0 / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.002168, allocations: 0 / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.002176, allocations: 0 / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.002613, allocations: 47.89 kB / 0.555 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.002662, allocations: 0 / 0.555 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.00271, allocations: 3.984 kB / 0.555 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.002741, allocations: 0 / 0.555 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.002766, allocations: 11.94 kB / 0.555 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.002777, allocations: 0 / 0.555 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.002939, allocations: 47.95 kB / 0.5551 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.002954, allocations: 3.938 kB / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.002969, allocations: 0 / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003085, allocations: 51.86 kB / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003087, allocations: 0 / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003089, allocations: 0 / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003093, allocations: 0 / 0.5551 GB, free: 1.816 MB / 0.5105 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.0002378/0.003331, allocations: 242.4 kB / 0.5554 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.003371, allocations: 8.625 kB / 0.5554 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.003399, allocations: 34.75 kB / 0.5554 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.003423, allocations: 0.9375 kB / 0.5554 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.514e-05/0.003478, allocations: 113.7 kB / 0.5555 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.003487, allocations: 384 / 0.5555 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.003495, allocations: 4.375 kB / 0.5555 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.114e-05/0.003576, allocations: 26.27 kB / 0.5556 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003584, allocations: 192 / 0.5556 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.003591, allocations: 4.375 kB / 0.5556 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003596, allocations: 4.125 kB / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.003613, allocations: 0 / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.003724, allocations: 120.8 kB / 0.5557 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.003791, allocations: 26.52 kB / 0.5557 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.003805, allocations: 8.797 kB / 0.5557 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.004211, allocations: 71.98 kB / 0.5558 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.00423, allocations: 30.56 kB / 0.5558 GB, free: 1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.00423, allocations: 0 / 0.5558 GB, free: 1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001138/0.004344, allocations: 37.69 kB / 0.5558 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.004376, allocations: 59.34 kB / 0.5559 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.869e-05/0.004404, allocations: 93.8 kB / 0.556 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004413, allocations: 25.7 kB / 0.556 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.004431, allocations: 80.14 kB / 0.5561 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.004456, allocations: 3.938 kB / 0.5561 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.004477, allocations: 17.66 kB / 0.5561 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.004568, allocations: 314.8 kB / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.004577, allocations: 0 / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.004583, allocations: 0 / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.004612, allocations: 17.03 kB / 0.5564 GB, free: 316 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004614, allocations: 0 / 0.5564 GB, free: 316 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.425e-05/0.004648, allocations: 29.7 kB / 0.5565 GB, free: 280 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004661, allocations: 8 kB / 0.5565 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.004667, allocations: 0 / 0.5565 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.004679, allocations: 0 / 0.5565 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.004734, allocations: 7.922 kB / 0.5565 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.004743, allocations: 3.938 kB / 0.5565 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.004755, allocations: 4 kB / 0.5565 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.004762, allocations: 4 kB / 0.5565 GB, free: 252 kB / 0.5105 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 6.592e-05/0.004828, allocations: 113.9 kB / 0.5566 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.004837, allocations: 7.938 kB / 0.5566 GB, free: 120 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.004903, allocations: 32.7 kB / 0.5566 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.004905, allocations: 0 / 0.5566 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.004913, allocations: 7.938 kB / 0.5566 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.004915, allocations: 0 / 0.5566 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.005011, allocations: 120.8 kB / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005012, allocations: 0 / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.005025, allocations: 4 kB / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005027, allocations: 0 / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005033, allocations: 4.031 kB / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005034, allocations: 0 / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.005038, allocations: 7.938 kB / 0.5568 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.639e-05/0.005084, allocations: 61.06 kB / 0.5568 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.005088, allocations: 0 / 0.5568 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.005097, allocations: 0 / 0.5568 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-06/0.0051, allocations: 0 / 0.5568 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.005115, allocations: 7.938 kB / 0.5568 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005117, allocations: 3.938 kB / 0.5568 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.005141, allocations: 75.28 kB / 0.5569 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005141, allocations: 4.031 kB / 0.5569 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001412/0.005282, allocations: 16 kB / 0.5569 GB, free: 15.71 MB / 0.5261 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.0003289/0.005611, allocations: 0.6162 MB / 0.5575 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.005683, allocations: 4 kB / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005685, allocations: 4 kB / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.005688, allocations: 4.094 kB / 0.5575 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.005797, allocations: 6.125 kB / 0.5575 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.00603, allocations: 114.5 kB / 0.5577 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.006063, allocations: 55.36 kB / 0.5577 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.105e-06/0.006071, allocations: 0 / 0.5577 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.006086, allocations: 8.5 kB / 0.5577 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.006086, allocations: 3.938 kB / 0.5577 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02095, allocations: 1.778 MB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.167, allocations: 4.375 kB / 0.5595 GB, free: 13.16 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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: 9.846289943903685] Failed to read output from testmodel.py, exit status != 0: 7.246436038985848 7.261417851 7.255552103 Calling exit ...