Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001746/0.001746, allocations: 119 kB / 19.69 MB, free: 2.199 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.002148/0.002148, allocations: 221.5 kB / 23.01 MB, free: 5.043 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9656/0.9656, allocations: 150 MB / 463.2 MB, free: 10.51 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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",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.002032/0.002032, allocations: 66.89 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 89.17 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001707/0.1754, allocations: 0.5877 MB / 0.729 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004749/0.1759, allocations: 203.3 kB / 0.7292 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.1759, allocations: 0 / 0.7292 GB, free: 456 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1759, allocations: 0 / 0.7292 GB, free: 456 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.176, allocations: 4 kB / 0.7292 GB, free: 452 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1763, allocations: 55.83 kB / 0.7292 GB, free: 396 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.283e-05/0.1763, allocations: 0 / 0.7292 GB, free: 396 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.1764, allocations: 0 / 0.7292 GB, free: 396 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.044e-05/0.1764, allocations: 0 / 0.7292 GB, free: 396 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.1764, allocations: 11.92 kB / 0.7292 GB, free: 384 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.1764, allocations: 0 / 0.7292 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1766, allocations: 59.88 kB / 0.7293 GB, free: 324 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1766, allocations: 4 kB / 0.7293 GB, free: 320 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.1766, allocations: 0 / 0.7293 GB, free: 320 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1767, allocations: 44.16 kB / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1767, allocations: 0 / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1767, allocations: 0 / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1767, allocations: 0 / 0.7293 GB, free: 276 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.0002834/0.177, allocations: 238.4 kB / 0.7296 GB, free: 4 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1771, allocations: 12.02 kB / 0.7296 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.1771, allocations: 30.75 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.1771, allocations: 0.9375 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.1772, allocations: 106.5 kB / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1772, allocations: 4.375 kB / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-06/0.1773, allocations: 8.312 kB / 0.7297 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.1773, allocations: 30.2 kB / 0.7297 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1773, allocations: 3.938 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.1774, allocations: 0 / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1774, allocations: 0 / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.1774, allocations: 4 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1775, allocations: 120.8 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.189e-05/0.1776, allocations: 18.61 kB / 0.7299 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1776, allocations: 12.8 kB / 0.7299 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.1782, allocations: 79.95 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1782, allocations: 34.5 kB / 0.73 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1782, allocations: 4 kB / 0.73 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.1783, allocations: 33.64 kB / 0.73 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1784, allocations: 51.41 kB / 0.7301 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1784, allocations: 93.86 kB / 0.7302 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1784, allocations: 25.7 kB / 0.7302 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.1785, allocations: 80.14 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1785, allocations: 7.953 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1785, allocations: 9.719 kB / 0.7303 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1787, allocations: 323 kB / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.1787, allocations: 3.938 kB / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.1787, allocations: 0 / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.1787, allocations: 8.859 kB / 0.7306 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1787, allocations: 0 / 0.7306 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.962e-05/0.1788, allocations: 33.7 kB / 0.7306 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1788, allocations: 4 kB / 0.7306 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1788, allocations: 7.938 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1788, allocations: 8.094 kB / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.505e-05/0.1789, allocations: 0 / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1789, allocations: 3.984 kB / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-06/0.1789, allocations: 0 / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1789, allocations: 0 / 0.7307 GB, free: 14.7 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 7.334e-05/0.179, allocations: 113.8 kB / 0.7308 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.179, allocations: 0 / 0.7308 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.1791, allocations: 36.64 kB / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1791, allocations: 0 / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1791, allocations: 4.031 kB / 0.7308 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1791, allocations: 3.984 kB / 0.7308 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.1792, allocations: 124.8 kB / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1792, allocations: 0 / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.1792, allocations: 0 / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1792, allocations: 0 / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1792, allocations: 3.938 kB / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1792, allocations: 3.938 kB / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1792, allocations: 4 kB / 0.7309 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.215e-05/0.1793, allocations: 65.06 kB / 0.731 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-06/0.1793, allocations: 3.938 kB / 0.731 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1793, allocations: 7.938 kB / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.1793, allocations: 0 / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-06/0.1793, allocations: 0 / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.1793, allocations: 0 / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.1793, allocations: 75.28 kB / 0.7311 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.7311 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002076/0.1795, allocations: 23.95 kB / 0.7311 GB, free: 14.16 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.0004895/0.18, allocations: 0.6123 MB / 0.7317 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.1801, allocations: 8.031 kB / 0.7317 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1801, allocations: 0 / 0.7317 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-06/0.1801, allocations: 0 / 0.7317 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1802, allocations: 4 kB / 0.7317 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.1805, allocations: 110.6 kB / 0.7318 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1808, allocations: 0.669 MB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.025e-05/0.1808, allocations: 0 / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1809, allocations: 11.56 kB / 0.7325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.1809, allocations: 4 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.2104, allocations: 1.257 MB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.98, allocations: 10.25 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1_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_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.889475199001026] Failed to read output from testmodel.py, exit status != 0: 11.087669861000904 11.118206706 10.935924253 Calling exit ...