Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 63.89 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.956/0.9588, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001574/0.9603, allocations: 0.5991 MB / 1.272 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.9608, allocations: 178.7 kB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.9608, allocations: 0.625 kB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.9608, allocations: 0 / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.9608, allocations: 0 / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.9612, allocations: 59.86 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.802e-05/0.9612, allocations: 3.531 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.9612, allocations: 5.438 kB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.363e-05/0.9612, allocations: 8.812 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.059e-05/0.9613, allocations: 1.312 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.662e-06/0.9613, allocations: 0 / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.9614, allocations: 60.58 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.274e-06/0.9615, allocations: 0 / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.9615, allocations: 1.828 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.9616, allocations: 40.06 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9616, allocations: 1.094 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9616, allocations: 0 / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.9616, allocations: 0 / 1.272 GB, free: 7.16 MB / 0.9981 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.0002447/0.9618, allocations: 324 kB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9619, allocations: 9.469 kB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.9619, allocations: 32.16 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.9619, allocations: 0.9375 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.694e-05/0.962, allocations: 166.4 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.962, allocations: 9.031 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.962, allocations: 1.125 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.9621, allocations: 29.27 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.9621, allocations: 3.938 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.9621, allocations: 4 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.9621, allocations: 0.8438 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.9621, allocations: 2.641 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.479e-05/0.9622, allocations: 144.3 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.9623, allocations: 23.95 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.9623, allocations: 7.062 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.9629, allocations: 453.1 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.9629, allocations: 32.02 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.9629, allocations: 0 / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.963, allocations: 39.77 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.963, allocations: 52.73 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.589e-05/0.963, allocations: 94.77 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.963, allocations: 25.7 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.124e-05/0.963, allocations: 80.89 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.9631, allocations: 0.7031 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.9631, allocations: 12.5 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.9631, allocations: 320.1 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.9631, allocations: 0.7812 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.9631, allocations: 1.438 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.9632, allocations: 16.33 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.9632, allocations: 3.938 kB / 1.274 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.462e-05/0.9632, allocations: 32.67 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.9632, allocations: 4.906 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.9632, allocations: 5.031 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9632, allocations: 0.7031 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.9633, allocations: 1.875 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9633, allocations: 0.7031 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.9633, allocations: 4.875 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.9633, allocations: 4.031 kB / 1.274 GB, free: 5.062 MB / 0.9981 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 3.772e-05/0.9633, allocations: 108.4 kB / 1.274 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.9633, allocations: 4.609 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.9634, allocations: 39.3 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9634, allocations: 0.7969 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9634, allocations: 0.7812 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.9634, allocations: 0 / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.033e-05/0.9635, allocations: 149.2 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.9635, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.9635, allocations: 6.375 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.9635, allocations: 0.7812 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.9635, allocations: 4.812 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.9635, allocations: 4.609 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.9635, allocations: 0 / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.881e-05/0.9635, allocations: 61.47 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.9636, allocations: 82.53 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.9636, allocations: 9.516 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.9636, allocations: 0 / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.9636, allocations: 1.375 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.9636, allocations: 0.8125 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.128e-05/0.9636, allocations: 75.28 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9636, allocations: 0.8125 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002138/0.9638, allocations: 15.53 kB / 1.275 GB, free: 4.449 MB / 0.9981 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.0002906/0.9641, allocations: 0.615 MB / 1.275 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.9642, allocations: 8.266 kB / 1.275 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9642, allocations: 0 / 1.275 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.9642, allocations: 10.5 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.9643, allocations: 1.703 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.9646, allocations: 128.6 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.9647, allocations: 0.6721 MB / 1.276 GB, free: 19 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.708e-06/0.9648, allocations: 0 / 1.276 GB, free: 19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.9648, allocations: 16.7 kB / 1.276 GB, free: 18.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9648, allocations: 0.7188 kB / 1.276 GB, free: 18.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.987, allocations: 1.129 MB / 1.277 GB, free: 18.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/9.009, allocations: 6.891 kB / 1.277 GB, free: 18.63 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.888781335001113] Failed to read output from testmodel.py, exit status != 0: 9.080571715981932 9.101988166 8.135989653 Calling exit ...