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.00127/0.00127, 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.001512/0.001512, allocations: 212.6 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 8 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.002583/0.002583, allocations: 291.1 kB / 312.7 MB, free: 2.641 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.177/1.177, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.002932/0.002932, allocations: 109.2 kB / 0.7395 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1597, allocations: 95.38 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001766/0.1614, allocations: 0.5844 MB / 0.8333 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005062/0.1619, allocations: 167.8 kB / 0.8334 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.162, allocations: 0 / 0.8334 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.162, allocations: 0 / 0.8334 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.162, allocations: 0 / 0.8334 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1624, allocations: 55.83 kB / 0.8335 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.281e-05/0.1624, allocations: 3.984 kB / 0.8335 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1624, allocations: 0 / 0.8335 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.1625, allocations: 4 kB / 0.8335 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.1625, allocations: 4 kB / 0.8335 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.1625, allocations: 3.938 kB / 0.8335 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1627, allocations: 55.83 kB / 0.8335 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.1627, allocations: 7.984 kB / 0.8335 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.1627, allocations: 0 / 0.8335 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1628, allocations: 36.17 kB / 0.8336 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1628, allocations: 0 / 0.8336 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1628, allocations: 3.938 kB / 0.8336 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1628, allocations: 0 / 0.8336 GB, free: 7.352 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.0003143/0.1631, allocations: 242.4 kB / 0.8338 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1632, allocations: 17.34 kB / 0.8338 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.1632, allocations: 34.75 kB / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.1633, allocations: 0.9375 kB / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.1633, allocations: 102.5 kB / 0.834 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1633, allocations: 384 / 0.834 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1634, allocations: 8.359 kB / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1635, allocations: 30.25 kB / 0.834 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1635, allocations: 3.938 kB / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1635, allocations: 0 / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.1635, allocations: 0 / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.1635, allocations: 11.94 kB / 0.834 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1636, allocations: 116.8 kB / 0.8341 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.1637, allocations: 18.61 kB / 0.8341 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.1637, allocations: 4.859 kB / 0.8341 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.1643, allocations: 71.97 kB / 0.8342 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1643, allocations: 34.56 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1643, allocations: 4 kB / 0.8343 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.1645, allocations: 37.58 kB / 0.8343 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1645, allocations: 55.34 kB / 0.8343 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.1645, allocations: 89.86 kB / 0.8344 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1646, allocations: 25.7 kB / 0.8345 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1646, allocations: 88.14 kB / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1646, allocations: 0 / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1646, allocations: 9.719 kB / 0.8345 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1648, allocations: 314.8 kB / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.1648, allocations: 4 kB / 0.8349 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.1648, allocations: 4.125 kB / 0.8349 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.1648, allocations: 12.86 kB / 0.8349 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1648, allocations: 0 / 0.8349 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.774e-05/0.1649, allocations: 37.64 kB / 0.8349 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1649, allocations: 4 kB / 0.8349 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1649, allocations: 3.938 kB / 0.8349 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1649, allocations: 4 kB / 0.8349 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.165, allocations: 3.984 kB / 0.8349 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.165, allocations: 3.938 kB / 0.8349 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.165, allocations: 4.094 kB / 0.8349 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.165, allocations: 0 / 0.8349 GB, free: 5.781 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.742e-05/0.1651, allocations: 110.5 kB / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.1651, allocations: 0 / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.1651, allocations: 40.64 kB / 0.8351 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1651, allocations: 3.938 kB / 0.8351 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1652, allocations: 3.984 kB / 0.8351 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1652, allocations: 0 / 0.8351 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.1653, allocations: 120.8 kB / 0.8352 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1653, allocations: 0 / 0.8352 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.1653, allocations: 4.031 kB / 0.8352 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1653, allocations: 0 / 0.8352 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1653, allocations: 7.938 kB / 0.8352 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1653, allocations: 0 / 0.8352 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1653, allocations: 0 / 0.8352 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.305e-05/0.1654, allocations: 57.12 kB / 0.8353 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.1654, allocations: 4 kB / 0.8353 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.1654, allocations: 3.938 kB / 0.8353 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.1654, allocations: 0 / 0.8353 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.1654, allocations: 3.938 kB / 0.8353 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1654, allocations: 0 / 0.8353 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.1654, allocations: 83.31 kB / 0.8353 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1654, allocations: 0 / 0.8353 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001905/0.1656, allocations: 19.86 kB / 0.8354 GB, free: 5.25 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.0004683/0.1661, allocations: 0.6085 MB / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.1662, allocations: 12.03 kB / 0.836 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1662, allocations: 0 / 0.836 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.1662, allocations: 3.938 kB / 0.836 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1663, allocations: 10.41 kB / 0.836 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.1666, allocations: 104.4 kB / 0.8361 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.1667, allocations: 55.36 kB / 0.8361 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.428e-06/0.1667, allocations: 0 / 0.8361 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.1667, allocations: 7.438 kB / 0.8361 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1667, allocations: 0 / 0.8361 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1946, allocations: 1.659 MB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.61, allocations: 12.02 kB / 0.8378 GB, free: 2.828 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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.620474346913397] Failed to read output from testmodel.py, exit status != 0: 10.707643880043179 10.723605154 10.557730689 Calling exit ...