Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001293/0.001293, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001563/0.001563, allocations: 204 kB / 20.09 MB, free: 2.977 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.965/0.965, allocations: 150 MB / 459.5 MB, free: 5.289 MB / 350.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.00198/0.00198, allocations: 71.73 kB / 0.6361 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 89.14 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002866/0.1775, allocations: 1.444 MB / 0.7246 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006024/0.1781, allocations: 257.5 kB / 0.7248 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.1782, allocations: 3.938 kB / 0.7248 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.1782, allocations: 3.938 kB / 0.7248 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.1782, allocations: 0 / 0.7248 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1786, allocations: 67.75 kB / 0.7249 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.1786, allocations: 19.98 kB / 0.7249 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1787, allocations: 8 kB / 0.7249 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.1788, allocations: 11.98 kB / 0.7249 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.1788, allocations: 3.938 kB / 0.7249 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1788, allocations: 4 kB / 0.7249 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.179, allocations: 67.86 kB / 0.725 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.179, allocations: 4 kB / 0.725 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.179, allocations: 11.92 kB / 0.725 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1792, allocations: 56.08 kB / 0.7251 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1792, allocations: 3.938 kB / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1792, allocations: 0 / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1792, allocations: 4 kB / 0.7251 GB, free: 2.039 MB / 0.5294 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.0005279/0.1797, allocations: 349.2 kB / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1798, allocations: 8.031 kB / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1798, allocations: 34.75 kB / 0.7255 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1799, allocations: 4.922 kB / 0.7255 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.18, allocations: 164.3 kB / 0.7256 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.18, allocations: 384 / 0.7256 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.18, allocations: 4.375 kB / 0.7256 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1802, allocations: 54.23 kB / 0.7257 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1802, allocations: 3.938 kB / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1802, allocations: 0 / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1802, allocations: 0 / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1804, allocations: 35.91 kB / 0.7257 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1808, allocations: 253 kB / 0.726 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1809, allocations: 42.5 kB / 0.726 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.181, allocations: 20.89 kB / 0.726 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/0.1818, allocations: 453.5 kB / 0.7265 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1818, allocations: 42.53 kB / 0.7265 GB, free: 340 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1818, allocations: 4 kB / 0.7265 GB, free: 336 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003664/0.1822, allocations: 77.59 kB / 0.7266 GB, free: 252 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1822, allocations: 51.41 kB / 0.7266 GB, free: 188 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.1823, allocations: 105.8 kB / 0.7267 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1823, allocations: 29.83 kB / 0.7267 GB, free: 36 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.1824, allocations: 84.14 kB / 0.7268 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1824, allocations: 3.953 kB / 0.7268 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1824, allocations: 17.7 kB / 0.7268 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1826, allocations: 314.8 kB / 0.7271 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.1827, allocations: 15.92 kB / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.1828, allocations: 23.98 kB / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1829, allocations: 40.75 kB / 0.7272 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1829, allocations: 7.938 kB / 0.7272 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002005/0.1831, allocations: 57.67 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1831, allocations: 9.562 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1832, allocations: 0 / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1832, allocations: 8.078 kB / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.1832, allocations: 4 kB / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1833, allocations: 0 / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1833, allocations: 11.94 kB / 0.7273 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1833, allocations: 0 / 0.7273 GB, free: 15.42 MB / 0.545 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.287e-05/0.1834, allocations: 117.8 kB / 0.7274 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1834, allocations: 0 / 0.7274 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1837, allocations: 76.72 kB / 0.7275 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1837, allocations: 0 / 0.7275 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1837, allocations: 0 / 0.7275 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1837, allocations: 3.984 kB / 0.7275 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1839, allocations: 157.6 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1839, allocations: 0 / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.1839, allocations: 11.98 kB / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1839, allocations: 0 / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1839, allocations: 0 / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1839, allocations: 32 / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1839, allocations: 4 kB / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1842, allocations: 167.4 kB / 0.7278 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.1843, allocations: 77.11 kB / 0.7279 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1843, allocations: 4 kB / 0.7279 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.1844, allocations: 7.984 kB / 0.7279 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1844, allocations: 12.03 kB / 0.7279 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1844, allocations: 3.938 kB / 0.7279 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.1844, allocations: 79.28 kB / 0.728 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1844, allocations: 0 / 0.728 GB, free: 14.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000242/0.1847, allocations: 19.92 kB / 0.728 GB, free: 14.6 MB / 0.545 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.0006766/0.1854, allocations: 0.7162 MB / 0.7287 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1856, allocations: 39.89 kB / 0.7288 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1856, allocations: 4.094 kB / 0.7288 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.1857, allocations: 19.98 kB / 0.7288 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.1859, allocations: 7.938 kB / 0.7288 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.1863, allocations: 143 kB / 0.7289 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1867, allocations: 0.6729 MB / 0.7296 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.1867, allocations: 0 / 0.7296 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1867, allocations: 23.48 kB / 0.7296 GB, free: 12.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1867, allocations: 0 / 0.7296 GB, free: 12.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.2112, allocations: 1.5 MB / 0.7311 GB, free: 11.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.225, allocations: 16.84 kB / 0.7311 GB, free: 11.46 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.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_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.186699356883764] Failed to read output from testmodel.py, exit status != 0: 8.290606861002743 8.3055256 8.123472974 Calling exit ...