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.001355/0.001355, 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.001602/0.001602, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.464/1.464, 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.9663/0.9663, allocations: 150 MB / 463.2 MB, free: 10.48 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.002233/0.002233, allocations: 73.52 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1747, allocations: 89.18 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001645/0.1764, allocations: 0.575 MB / 0.7289 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.1769, allocations: 207.3 kB / 0.7291 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.043e-05/0.1769, allocations: 0 / 0.7291 GB, free: 488 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.1769, allocations: 3.938 kB / 0.7292 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.1769, allocations: 0 / 0.7292 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1772, allocations: 51.83 kB / 0.7292 GB, free: 432 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.752e-05/0.1773, allocations: 8 kB / 0.7292 GB, free: 424 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.1773, allocations: 0 / 0.7292 GB, free: 424 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.1773, allocations: 3.984 kB / 0.7292 GB, free: 420 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.1773, allocations: 4 kB / 0.7292 GB, free: 416 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-06/0.1773, allocations: 0 / 0.7292 GB, free: 416 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1775, allocations: 67.81 kB / 0.7293 GB, free: 348 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-06/0.1775, allocations: 0 / 0.7293 GB, free: 348 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.1775, allocations: 0 / 0.7293 GB, free: 348 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.1776, allocations: 36.16 kB / 0.7293 GB, free: 312 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1776, allocations: 0 / 0.7293 GB, free: 312 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1776, allocations: 4 kB / 0.7293 GB, free: 308 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1776, allocations: 0 / 0.7293 GB, free: 308 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.0002913/0.1779, allocations: 246.3 kB / 0.7296 GB, free: 28 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.178, allocations: 16.03 kB / 0.7296 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.178, allocations: 34.75 kB / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.178, allocations: 0.9375 kB / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.263e-05/0.1781, allocations: 102.5 kB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.1781, allocations: 384 / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1781, allocations: 384 / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.1782, allocations: 34.25 kB / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1782, allocations: 3.938 kB / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.1782, allocations: 0 / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.1782, allocations: 0 / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.1782, allocations: 7.984 kB / 0.7297 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.1784, allocations: 124.7 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.284e-05/0.1784, allocations: 14.58 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.1784, allocations: 8.953 kB / 0.7299 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.179, allocations: 75.91 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.179, allocations: 34.56 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.179, allocations: 0 / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.1792, allocations: 45.56 kB / 0.73 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1792, allocations: 55.34 kB / 0.7301 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.063e-05/0.1792, allocations: 89.86 kB / 0.7302 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1792, allocations: 25.83 kB / 0.7302 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.1793, allocations: 84.14 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1793, allocations: 7.953 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.1793, allocations: 9.719 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1795, allocations: 310.8 kB / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-06/0.1795, allocations: 0 / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.1795, allocations: 7.938 kB / 0.7306 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.1795, allocations: 8.859 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1795, allocations: 4.062 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.63e-05/0.1796, allocations: 41.62 kB / 0.7307 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1796, allocations: 6.812 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1796, allocations: 3.938 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1796, allocations: 0 / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.1796, allocations: 4 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1796, allocations: 0 / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-06/0.1796, allocations: 0 / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1796, allocations: 0 / 0.7307 GB, free: 14.73 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.545e-05/0.1797, allocations: 109.9 kB / 0.7308 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.1797, allocations: 0 / 0.7308 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.1798, allocations: 48.62 kB / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1798, allocations: 0 / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1798, allocations: 0 / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1798, allocations: 3.938 kB / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.839e-05/0.1799, allocations: 116.8 kB / 0.7309 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1799, allocations: 3.984 kB / 0.7309 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.1799, allocations: 4 kB / 0.7309 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1799, allocations: 0 / 0.7309 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1799, allocations: 11.97 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1799, allocations: 0 / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1799, allocations: 0 / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.18, allocations: 57.14 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.18, allocations: 3.984 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.18, allocations: 3.938 kB / 0.731 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-06/0.18, allocations: 0 / 0.731 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.18, allocations: 7.969 kB / 0.731 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.18, allocations: 4 kB / 0.731 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.1801, allocations: 75.28 kB / 0.7311 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1801, allocations: 0 / 0.7311 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002024/0.1803, allocations: 11.94 kB / 0.7311 GB, free: 14.2 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.000443/0.1807, allocations: 0.6201 MB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/0.1808, allocations: 11.98 kB / 0.7317 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1808, allocations: 0 / 0.7317 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.1808, allocations: 7.938 kB / 0.7317 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.1809, allocations: 0 / 0.7317 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.1812, allocations: 106.7 kB / 0.7318 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1815, allocations: 0.6806 MB / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.417e-06/0.1815, allocations: 0 / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.1815, allocations: 7.438 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1815, allocations: 0 / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/0.3132, allocations: 1.247 MB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.01, allocations: 3.438 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 15.823040812043473] Failed to read output from testmodel.py, exit status != 0: 12.115106482990086 12.139611496 11.957423016 Calling exit ...