Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001295/0.001295, allocations: 114.4 kB / 17.12 MB, free: 6.047 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.001414/0.001414, allocations: 207.1 kB / 20.09 MB, free: 3.098 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9711/0.9711, allocations: 150 MB / 459.5 MB, free: 5.34 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.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.00199/0.00199, allocations: 70.41 kB / 0.6362 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1467, allocations: 89.13 MB / 0.7232 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001758/0.1484, allocations: 0.5785 MB / 0.7238 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004509/0.1489, allocations: 195.8 kB / 0.724 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.1489, allocations: 0 / 0.724 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1489, allocations: 3.938 kB / 0.724 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.1489, allocations: 0 / 0.724 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1492, allocations: 59.81 kB / 0.724 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.187e-05/0.1493, allocations: 0 / 0.724 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1493, allocations: 0 / 0.724 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1493, allocations: 7.938 kB / 0.724 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.1493, allocations: 4 kB / 0.724 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.1493, allocations: 0 / 0.724 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1495, allocations: 59.88 kB / 0.7241 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1495, allocations: 3.984 kB / 0.7241 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.1495, allocations: 4 kB / 0.7241 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1496, allocations: 36.17 kB / 0.7241 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1496, allocations: 0 / 0.7241 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1496, allocations: 0 / 0.7241 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1496, allocations: 0 / 0.7241 GB, free: 3.098 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003167/0.15, allocations: 319.5 kB / 0.7244 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.15, allocations: 12.03 kB / 0.7244 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.15, allocations: 30.75 kB / 0.7245 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.15, allocations: 0.9375 kB / 0.7245 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1502, allocations: 168.3 kB / 0.7246 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1502, allocations: 384 / 0.7246 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.1502, allocations: 384 / 0.7246 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.1e-05/0.1502, allocations: 38.25 kB / 0.7247 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1503, allocations: 7.875 kB / 0.7247 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.1503, allocations: 0 / 0.7247 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1503, allocations: 4 kB / 0.7247 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.516e-05/0.1503, allocations: 0 / 0.7247 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1504, allocations: 153.6 kB / 0.7248 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.1505, allocations: 14.58 kB / 0.7248 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.1505, allocations: 8.859 kB / 0.7249 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.1512, allocations: 461.5 kB / 0.7253 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1513, allocations: 30.56 kB / 0.7253 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1513, allocations: 3.938 kB / 0.7253 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.1514, allocations: 41.62 kB / 0.7254 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1514, allocations: 51.41 kB / 0.7254 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.1515, allocations: 89.98 kB / 0.7255 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1515, allocations: 29.7 kB / 0.7255 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1515, allocations: 84.14 kB / 0.7256 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1516, allocations: 3.953 kB / 0.7256 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.1516, allocations: 9.719 kB / 0.7256 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1517, allocations: 310.8 kB / 0.7259 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.1517, allocations: 4 kB / 0.7259 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1517, allocations: 3.984 kB / 0.7259 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.1518, allocations: 20.86 kB / 0.726 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1518, allocations: 4 kB / 0.726 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.188e-05/0.1518, allocations: 29.7 kB / 0.726 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1518, allocations: 4 kB / 0.726 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1518, allocations: 3.938 kB / 0.726 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1518, allocations: 0 / 0.726 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-05/0.1519, allocations: 4 kB / 0.726 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1519, allocations: 0 / 0.726 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1519, allocations: 0 / 0.726 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1519, allocations: 0 / 0.726 GB, free: 0.8594 MB / 0.5294 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.568e-05/0.152, allocations: 117.9 kB / 0.7261 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.152, allocations: 0 / 0.7261 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.152, allocations: 44.7 kB / 0.7261 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.152, allocations: 0 / 0.7261 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1521, allocations: 0 / 0.7261 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1521, allocations: 0 / 0.7261 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1522, allocations: 145.7 kB / 0.7263 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1522, allocations: 0 / 0.7263 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.1522, allocations: 7.938 kB / 0.7263 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1522, allocations: 4.031 kB / 0.7263 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1522, allocations: 7.875 kB / 0.7263 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1522, allocations: 0 / 0.7263 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1522, allocations: 0 / 0.7263 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.1523, allocations: 65.06 kB / 0.7264 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1523, allocations: 77.11 kB / 0.7264 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.1523, allocations: 3.938 kB / 0.7264 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.1523, allocations: 4.031 kB / 0.7265 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-06/0.1523, allocations: 0 / 0.7265 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1523, allocations: 4 kB / 0.7265 GB, free: 296 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.1524, allocations: 77.17 kB / 0.7265 GB, free: 220 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1524, allocations: 0 / 0.7265 GB, free: 220 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001994/0.1526, allocations: 11.94 kB / 0.7265 GB, free: 208 kB / 0.5294 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.000472/0.153, allocations: 0.6163 MB / 0.7271 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.1531, allocations: 11.94 kB / 0.7272 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1531, allocations: 0 / 0.7272 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-06/0.1531, allocations: 4 kB / 0.7272 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1532, allocations: 6.938 kB / 0.7272 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.1535, allocations: 110.6 kB / 0.7273 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1538, allocations: 0.669 MB / 0.7279 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.318e-06/0.1538, allocations: 4 kB / 0.7279 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.1538, allocations: 7.438 kB / 0.7279 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1538, allocations: 0 / 0.7279 GB, free: 14.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1771, allocations: 1.153 MB / 0.7291 GB, free: 13.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.298, allocations: 10.31 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.20210925117135] Failed to read output from testmodel.py, exit status != 0: 8.368122585117817 8.395463521 8.241060286 Calling exit ...