Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007755/0.0007755, 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.0008028/0.0008028, allocations: 170.3 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.834/0.834, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.001432/0.001432, allocations: 234.4 kB / 259.4 MB, free: 13.02 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.6324/0.6324, allocations: 138.4 MB / 454.3 MB, free: 1.621 MB / 362.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6464 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.756e-05, allocations: 2.281 kB / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001041/0.001059, allocations: 0.5768 MB / 0.6469 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.001368, allocations: 189.9 kB / 0.6471 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.001379, allocations: 0 / 0.6471 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.001392, allocations: 0 / 0.6471 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.001398, allocations: 1.469 kB / 0.6471 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.001722, allocations: 57.22 kB / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.001759, allocations: 1.25 kB / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.001794, allocations: 1.375 kB / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.001816, allocations: 0 / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.001837, allocations: 1.312 kB / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.001846, allocations: 0 / 0.6472 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.001976, allocations: 66.36 kB / 0.6472 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.001986, allocations: 1.094 kB / 0.6472 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.287e-05/0.001999, allocations: 0 / 0.6472 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.002097, allocations: 46.36 kB / 0.6473 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002099, allocations: 0 / 0.6473 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.91e-07/0.0021, allocations: 0 / 0.6473 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.002103, allocations: 3.938 kB / 0.6473 GB, free: 28.32 MB / 0.5105 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.0001773/0.00228, allocations: 241.4 kB / 0.6475 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.002317, allocations: 14.27 kB / 0.6475 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.092e-05/0.002338, allocations: 30.75 kB / 0.6476 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.846e-05/0.002357, allocations: 2.312 kB / 0.6476 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.265e-05/0.002389, allocations: 110.9 kB / 0.6477 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.002399, allocations: 4.375 kB / 0.6477 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.002406, allocations: 1.969 kB / 0.6477 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.002489, allocations: 27.52 kB / 0.6477 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002495, allocations: 192 / 0.6477 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.002502, allocations: 1.594 kB / 0.6477 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002506, allocations: 4.125 kB / 0.6477 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.002522, allocations: 5.406 kB / 0.6477 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.162e-05/0.002594, allocations: 122.1 kB / 0.6478 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.784e-05/0.002622, allocations: 21.23 kB / 0.6478 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.118e-05/0.002633, allocations: 14.3 kB / 0.6479 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.003034, allocations: 71.86 kB / 0.6479 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.003047, allocations: 39.83 kB / 0.648 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003048, allocations: 1.281 kB / 0.648 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.003154, allocations: 33.67 kB / 0.648 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.525e-05/0.003169, allocations: 60.47 kB / 0.648 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-06/0.003178, allocations: 89.86 kB / 0.6481 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-06/0.003182, allocations: 27.05 kB / 0.6482 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-06/0.003186, allocations: 80.14 kB / 0.6482 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.003208, allocations: 0 / 0.6482 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.003225, allocations: 12.34 kB / 0.6482 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.236e-05/0.003247, allocations: 319.9 kB / 0.6486 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-06/0.003255, allocations: 1.375 kB / 0.6486 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-06/0.003259, allocations: 0 / 0.6486 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.003278, allocations: 12.64 kB / 0.6486 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00328, allocations: 0 / 0.6486 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.522e-05/0.003305, allocations: 34.64 kB / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.003316, allocations: 5.531 kB / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.00332, allocations: 0 / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.003331, allocations: 1.062 kB / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.003365, allocations: 1.062 kB / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.003371, allocations: 5.281 kB / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-06/0.003377, allocations: 0 / 0.6486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.003382, allocations: 3.984 kB / 0.6486 GB, free: 26.86 MB / 0.5105 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 2.825e-05/0.00341, allocations: 116.9 kB / 0.6487 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-06/0.003413, allocations: 0 / 0.6487 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.00346, allocations: 32.98 kB / 0.6488 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003462, allocations: 1.375 kB / 0.6488 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.003466, allocations: 3.938 kB / 0.6488 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.003468, allocations: 0 / 0.6488 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.056e-05/0.003499, allocations: 118.2 kB / 0.6489 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.0035, allocations: 1.5 kB / 0.6489 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.003506, allocations: 5.281 kB / 0.6489 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.003507, allocations: 0 / 0.6489 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.003512, allocations: 5.594 kB / 0.6489 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.003512, allocations: 0 / 0.6489 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.003514, allocations: 3.938 kB / 0.6489 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.016e-05/0.003544, allocations: 63.22 kB / 0.649 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-06/0.003547, allocations: 5.172 kB / 0.649 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.003554, allocations: 5.562 kB / 0.649 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-06/0.003557, allocations: 0 / 0.649 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.003568, allocations: 5.156 kB / 0.649 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.003569, allocations: 0 / 0.649 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.605e-06/0.003576, allocations: 76.56 kB / 0.649 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003576, allocations: 0 / 0.649 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000134/0.003711, allocations: 18.28 kB / 0.6491 GB, free: 26.37 MB / 0.5105 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.0001933/0.003904, allocations: 0.6114 MB / 0.6497 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.15e-05/0.003955, allocations: 4.406 kB / 0.6497 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.003956, allocations: 0 / 0.6497 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.00396, allocations: 9.594 kB / 0.6497 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.13e-05/0.004052, allocations: 9.906 kB / 0.6497 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.004245, allocations: 118.2 kB / 0.6498 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.883e-05/0.004264, allocations: 55.17 kB / 0.6498 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.945e-06/0.004272, allocations: 0 / 0.6498 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.004284, allocations: 10.09 kB / 0.6499 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.004284, allocations: 0 / 0.6499 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.01929, allocations: 1.806 MB / 0.6516 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.269/6.288, allocations: 8.781 kB / 0.6516 GB, free: 24.32 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.889052861370146] Failed to read output from testmodel.py, exit status != 0: 6.364065608009696 6.372366109 6.368158879 Calling exit ...