Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001295/0.001295, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001439/0.001439, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002442/0.002442, allocations: 285.2 kB / 312.7 MB, free: 2.711 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.178/1.178, allocations: 180.7 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002817/0.002817, allocations: 103.1 kB / 0.7395 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 95.38 MB / 0.8327 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001813/0.1676, allocations: 0.6021 MB / 0.8333 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004977/0.1681, allocations: 171.8 kB / 0.8334 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.1681, allocations: 0 / 0.8334 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.1681, allocations: 0 / 0.8334 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-06/0.1681, allocations: 7.938 kB / 0.8334 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1685, allocations: 48.89 kB / 0.8335 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.764e-05/0.1685, allocations: 0 / 0.8335 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.1686, allocations: 0 / 0.8335 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1686, allocations: 4 kB / 0.8335 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.1686, allocations: 15.92 kB / 0.8335 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.1686, allocations: 0 / 0.8335 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1688, allocations: 51.94 kB / 0.8335 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1688, allocations: 0 / 0.8335 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1688, allocations: 4 kB / 0.8335 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1689, allocations: 36.11 kB / 0.8336 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.169, allocations: 3.984 kB / 0.8336 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.169, allocations: 0 / 0.8336 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.169, allocations: 0 / 0.8336 GB, free: 7.289 MB / 0.5762 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.000326/0.1693, allocations: 246.4 kB / 0.8338 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1693, allocations: 9.344 kB / 0.8338 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.1694, allocations: 34.75 kB / 0.8339 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.1694, allocations: 4.875 kB / 0.8339 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1695, allocations: 106.5 kB / 0.834 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-06/0.1695, allocations: 4.375 kB / 0.834 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1695, allocations: 384 / 0.834 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.1696, allocations: 30.2 kB / 0.834 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1696, allocations: 3.938 kB / 0.834 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.1696, allocations: 0 / 0.834 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1696, allocations: 4 kB / 0.834 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.1696, allocations: 3.938 kB / 0.834 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1698, allocations: 120.8 kB / 0.8341 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.1699, allocations: 18.61 kB / 0.8341 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1699, allocations: 8.844 kB / 0.8342 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/0.1704, allocations: 71.98 kB / 0.8342 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1704, allocations: 30.56 kB / 0.8343 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1704, allocations: 0 / 0.8343 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.1706, allocations: 41.58 kB / 0.8343 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.1707, allocations: 51.41 kB / 0.8343 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.1707, allocations: 93.86 kB / 0.8344 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1707, allocations: 33.69 kB / 0.8345 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1708, allocations: 80.14 kB / 0.8345 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1708, allocations: 0 / 0.8345 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1708, allocations: 9.719 kB / 0.8345 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1709, allocations: 314.8 kB / 0.8348 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.171, allocations: 0 / 0.8348 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.171, allocations: 128 / 0.8348 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.171, allocations: 16.92 kB / 0.8349 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.171, allocations: 0 / 0.8349 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.632e-05/0.171, allocations: 41.62 kB / 0.8349 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1711, allocations: 8 kB / 0.8349 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1711, allocations: 3.938 kB / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1711, allocations: 0 / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.1711, allocations: 0 / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1711, allocations: 0 / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-06/0.1711, allocations: 0 / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1711, allocations: 8.031 kB / 0.8349 GB, free: 5.723 MB / 0.5762 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.768e-05/0.1712, allocations: 106.5 kB / 0.835 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.1712, allocations: 3.938 kB / 0.835 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.164e-05/0.1713, allocations: 48.56 kB / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1713, allocations: 0 / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1713, allocations: 0 / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1713, allocations: 4 kB / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.1714, allocations: 112.8 kB / 0.8352 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1714, allocations: 0 / 0.8352 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.1714, allocations: 0 / 0.8352 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1714, allocations: 12.02 kB / 0.8352 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1714, allocations: 7.922 kB / 0.8352 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1714, allocations: 3.938 kB / 0.8352 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1714, allocations: 0 / 0.8352 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.151e-05/0.1715, allocations: 57.14 kB / 0.8353 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.1715, allocations: 0 / 0.8353 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1715, allocations: 3.938 kB / 0.8353 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.1715, allocations: 0 / 0.8353 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.1715, allocations: 3.984 kB / 0.8353 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1716, allocations: 4 kB / 0.8353 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.1716, allocations: 79.22 kB / 0.8354 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1716, allocations: 4.031 kB / 0.8354 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001935/0.1718, allocations: 11.94 kB / 0.8354 GB, free: 5.191 MB / 0.5762 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.0004772/0.1723, allocations: 0.6085 MB / 0.836 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.406e-05/0.1723, allocations: 8 kB / 0.836 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1723, allocations: 4.094 kB / 0.836 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.1723, allocations: 7.938 kB / 0.836 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.1725, allocations: 7.984 kB / 0.836 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1728, allocations: 100.4 kB / 0.8361 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.863e-05/0.1728, allocations: 55.36 kB / 0.8361 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.045e-05/0.1728, allocations: 0 / 0.8361 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.1728, allocations: 11.42 kB / 0.8361 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1728, allocations: 0 / 0.8361 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.2023, allocations: 1.658 MB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.7, allocations: 3.438 kB / 0.8378 GB, free: 2.773 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.610778901260346] Failed to read output from testmodel.py, exit status != 0: 10.803935402072966 10.821389022 10.649297789 Calling exit ...