Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007813/0.0007813, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007602/0.0007602, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001522/0.001522, allocations: 241.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6647/0.6647, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.428e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002151/0.002175, allocations: 1.46 MB / 0.6477 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004762/0.002652, allocations: 244.1 kB / 0.648 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.00269, allocations: 0 / 0.648 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.00272, allocations: 3.938 kB / 0.648 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.002763, allocations: 11.94 kB / 0.648 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.003218, allocations: 55.77 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.003308, allocations: 23.92 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003413, allocations: 7.984 kB / 0.6481 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.00347, allocations: 11.98 kB / 0.6481 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.003509, allocations: 11.92 kB / 0.6481 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003524, allocations: 4 kB / 0.6481 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.003668, allocations: 59.88 kB / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.003684, allocations: 4 kB / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.003703, allocations: 0 / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2456/0.2493, allocations: 63.11 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2493, allocations: 2.719 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2493, allocations: 0.7656 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2493, allocations: 0 / 0.6482 GB, free: 55.86 MB / 0.5573 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.0003595/0.2497, allocations: 268.3 kB / 0.6485 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2497, allocations: 10.22 kB / 0.6485 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.2497, allocations: 31.86 kB / 0.6485 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.2498, allocations: 6.031 kB / 0.6485 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.2498, allocations: 109 kB / 0.6486 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2498, allocations: 1.688 kB / 0.6486 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2498, allocations: 3.688 kB / 0.6486 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.25, allocations: 49.27 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.25, allocations: 1.688 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.25, allocations: 2.109 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.25, allocations: 8.406 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.2501, allocations: 31.41 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2504, allocations: 214.4 kB / 0.6489 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2505, allocations: 37.81 kB / 0.6489 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.2506, allocations: 22.34 kB / 0.649 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.2511, allocations: 77.94 kB / 0.649 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2511, allocations: 41.08 kB / 0.6491 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.2511, allocations: 0.5312 kB / 0.6491 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002411/0.2513, allocations: 84.33 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2513, allocations: 53.5 kB / 0.6492 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/0.2514, allocations: 104.4 kB / 0.6493 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.2514, allocations: 27.27 kB / 0.6493 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.2514, allocations: 83.88 kB / 0.6494 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.2514, allocations: 6 kB / 0.6494 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.2515, allocations: 15.39 kB / 0.6494 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.2515, allocations: 315.8 kB / 0.6497 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.2515, allocations: 18.27 kB / 0.6498 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.2516, allocations: 19.64 kB / 0.6498 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.2517, allocations: 38.44 kB / 0.6498 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2517, allocations: 0 / 0.6498 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000107/0.2518, allocations: 70.84 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2518, allocations: 5.031 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2518, allocations: 4.281 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2518, allocations: 0.8438 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.2519, allocations: 11.69 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2519, allocations: 0.875 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.2519, allocations: 6.875 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2519, allocations: 2.5 kB / 0.6499 GB, free: 54.43 MB / 0.5573 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 3.681e-05/0.252, allocations: 109.6 kB / 0.65 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.252, allocations: 8.656 kB / 0.65 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2521, allocations: 77.25 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2521, allocations: 2.297 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2521, allocations: 1.547 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2521, allocations: 0 / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.963e-05/0.2522, allocations: 127.8 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2522, allocations: 0.5625 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.2522, allocations: 9.094 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2522, allocations: 5.312 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.2522, allocations: 1.672 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2522, allocations: 1.625 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2523, allocations: 0.9062 kB / 0.6502 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2524, allocations: 168 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.2524, allocations: 5.562 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2524, allocations: 4.109 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.2524, allocations: 5.438 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2525, allocations: 2.797 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2525, allocations: 0.6562 kB / 0.6504 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.849e-05/0.2525, allocations: 82.31 kB / 0.6505 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2525, allocations: 1.969 kB / 0.6505 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001775/0.2527, allocations: 20.59 kB / 0.6505 GB, free: 53.9 MB / 0.5573 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.0003263/0.253, allocations: 0.709 MB / 0.6512 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2531, allocations: 43.44 kB / 0.6513 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2531, allocations: 0.9688 kB / 0.6513 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.2532, allocations: 18.23 kB / 0.6513 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.2533, allocations: 9.859 kB / 0.6513 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.2537, allocations: 135 kB / 0.6514 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.2537, allocations: 65.17 kB / 0.6515 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.2537, allocations: 3.656 kB / 0.6515 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.2538, allocations: 11.19 kB / 0.6515 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2538, allocations: 3.062 kB / 0.6515 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.2679, allocations: 2.218 MB / 0.6537 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.378/6.646, allocations: 2.188 kB / 0.6537 GB, free: 52.23 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.308730171062052] Failed to read output from testmodel.py, exit status != 0: 6.723138604313135 6.72998356 6.478791696 Calling exit ...