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.001294/0.001294, allocations: 103.4 kB / 16.45 MB, free: 6.504 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.001501/0.001501, allocations: 216.9 kB / 19.43 MB, free: 3.656 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.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004015/0.004015, allocations: 286.4 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.247/1.247, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: 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.002861/0.002861, allocations: 105.3 kB / 0.7343 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2159, allocations: 95.34 MB / 0.8274 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001871/0.2178, allocations: 0.5856 MB / 0.828 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000544/0.2183, allocations: 203.7 kB / 0.8282 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.2183, allocations: 0 / 0.8282 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.2183, allocations: 0 / 0.8282 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.2184, allocations: 0 / 0.8282 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2188, allocations: 55.83 kB / 0.8282 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.2188, allocations: 7.984 kB / 0.8282 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.2189, allocations: 4 kB / 0.8282 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.2189, allocations: 0 / 0.8282 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.2189, allocations: 4 kB / 0.8282 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.2189, allocations: 0 / 0.8282 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2191, allocations: 55.88 kB / 0.8283 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.2191, allocations: 0 / 0.8283 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.2191, allocations: 11.94 kB / 0.8283 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2193, allocations: 36.16 kB / 0.8283 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2193, allocations: 0 / 0.8283 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2193, allocations: 0 / 0.8283 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2193, allocations: 4 kB / 0.8283 GB, free: 8.844 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.0003763/0.2197, allocations: 315.5 kB / 0.8286 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2197, allocations: 12.03 kB / 0.8286 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.2198, allocations: 38.75 kB / 0.8287 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.2198, allocations: 0.9375 kB / 0.8287 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2199, allocations: 164.4 kB / 0.8288 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2199, allocations: 384 / 0.8288 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2199, allocations: 4.359 kB / 0.8288 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.22, allocations: 38.2 kB / 0.8289 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.22, allocations: 3.938 kB / 0.8289 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.2201, allocations: 3.938 kB / 0.8289 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2201, allocations: 0 / 0.8289 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.2201, allocations: 0 / 0.8289 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.2202, allocations: 149.7 kB / 0.829 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.2203, allocations: 18.56 kB / 0.829 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.2203, allocations: 4.859 kB / 0.8291 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/0.2211, allocations: 461.5 kB / 0.8295 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2212, allocations: 38.55 kB / 0.8295 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2212, allocations: 0 / 0.8295 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.2213, allocations: 33.64 kB / 0.8296 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.2214, allocations: 55.53 kB / 0.8296 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.2214, allocations: 89.86 kB / 0.8297 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2214, allocations: 29.7 kB / 0.8297 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2215, allocations: 80.14 kB / 0.8298 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.2215, allocations: 3.938 kB / 0.8298 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.2215, allocations: 13.72 kB / 0.8298 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2217, allocations: 314.8 kB / 0.8301 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.2217, allocations: 4 kB / 0.8301 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.2217, allocations: 7.938 kB / 0.8301 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.2217, allocations: 8.859 kB / 0.8301 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2217, allocations: 0 / 0.8301 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.011e-05/0.2218, allocations: 29.7 kB / 0.8302 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2218, allocations: 5.719 kB / 0.8302 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2218, allocations: 3.938 kB / 0.8302 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2218, allocations: 0 / 0.8302 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.2218, allocations: 4 kB / 0.8302 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2218, allocations: 96 / 0.8302 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.2219, allocations: 4 kB / 0.8302 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.2219, allocations: 3.984 kB / 0.8302 GB, free: 6.613 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 9.1e-05/0.222, allocations: 117.8 kB / 0.8303 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-06/0.222, allocations: 0 / 0.8303 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.222, allocations: 36.77 kB / 0.8303 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.222, allocations: 0 / 0.8303 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.222, allocations: 0 / 0.8303 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.222, allocations: 0 / 0.8303 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2222, allocations: 149.7 kB / 0.8305 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2222, allocations: 0 / 0.8305 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.2222, allocations: 4 kB / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2222, allocations: 0 / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2222, allocations: 7.938 kB / 0.8305 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2222, allocations: 4 kB / 0.8305 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2222, allocations: 0 / 0.8305 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.2223, allocations: 65 kB / 0.8306 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.2223, allocations: 85.09 kB / 0.8306 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2223, allocations: 3.938 kB / 0.8306 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.2223, allocations: 0 / 0.8306 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.2223, allocations: 0 / 0.8306 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2223, allocations: 4 kB / 0.8306 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.979e-05/0.2224, allocations: 79.28 kB / 0.8307 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2224, allocations: 0 / 0.8307 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001953/0.2226, allocations: 19.86 kB / 0.8307 GB, free: 5.949 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.0005239/0.2231, allocations: 0.624 MB / 0.8314 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.91e-05/0.2232, allocations: 4 kB / 0.8314 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2232, allocations: 4.094 kB / 0.8314 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.2232, allocations: 0 / 0.8314 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.2233, allocations: 3.938 kB / 0.8314 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.2236, allocations: 116.4 kB / 0.8315 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2239, allocations: 0.669 MB / 0.8321 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.247e-06/0.2239, allocations: 0 / 0.8321 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.2239, allocations: 7.438 kB / 0.8321 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2239, allocations: 0 / 0.8321 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.2476, allocations: 1.175 MB / 0.8333 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.138, allocations: 13.98 kB / 0.8333 GB, free: 3.355 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.472424339037389] Failed to read output from testmodel.py, exit status != 0: 8.206769352778792 8.221133651 7.999087492 Calling exit ...