Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.001498/0.001498, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001813/0.001813, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.00251/0.00251, allocations: 283.5 kB / 309.1 MB, free: 3.992 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.227/1.227, 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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",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.002775/0.002775, allocations: 106.9 kB / 0.7343 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2147, allocations: 95.35 MB / 0.8274 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00221/0.2169, allocations: 0.5727 MB / 0.828 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.2175, allocations: 199.7 kB / 0.8282 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.2175, allocations: 0 / 0.8282 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.2176, allocations: 0 / 0.8282 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.2176, allocations: 0 / 0.8282 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.218, allocations: 55.81 kB / 0.8282 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.2181, allocations: 4 kB / 0.8282 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.2181, allocations: 0 / 0.8282 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.2182, allocations: 0 / 0.8282 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.391e-05/0.2182, allocations: 0 / 0.8282 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.2182, allocations: 0 / 0.8282 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.2184, allocations: 71.86 kB / 0.8283 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.2184, allocations: 0 / 0.8283 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2184, allocations: 0 / 0.8283 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2186, allocations: 44.09 kB / 0.8283 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2186, allocations: 0 / 0.8283 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2186, allocations: 0 / 0.8283 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2186, allocations: 0 / 0.8283 GB, free: 8.934 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.0004052/0.219, allocations: 319.5 kB / 0.8286 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.219, allocations: 8.031 kB / 0.8286 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.2191, allocations: 30.75 kB / 0.8287 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2191, allocations: 4.938 kB / 0.8287 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2192, allocations: 168.4 kB / 0.8288 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.2192, allocations: 384 / 0.8288 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2192, allocations: 384 / 0.8288 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2193, allocations: 34.2 kB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2193, allocations: 3.938 kB / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2194, allocations: 0 / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2194, allocations: 4 kB / 0.8289 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.2194, allocations: 0 / 0.8289 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.2196, allocations: 149.7 kB / 0.829 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.2196, allocations: 18.61 kB / 0.829 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.2196, allocations: 8.859 kB / 0.829 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.2205, allocations: 449.5 kB / 0.8295 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2205, allocations: 42.5 kB / 0.8295 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2205, allocations: 0 / 0.8295 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.2206, allocations: 37.64 kB / 0.8295 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2207, allocations: 51.41 kB / 0.8296 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.307e-05/0.2207, allocations: 89.86 kB / 0.8297 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2207, allocations: 25.7 kB / 0.8297 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.2208, allocations: 80.14 kB / 0.8298 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.2208, allocations: 7.938 kB / 0.8298 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2208, allocations: 13.84 kB / 0.8298 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.221, allocations: 314.8 kB / 0.8301 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.221, allocations: 0 / 0.8301 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.221, allocations: 7.938 kB / 0.8301 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.221, allocations: 8.859 kB / 0.8301 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.221, allocations: 0 / 0.8301 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.752e-05/0.2211, allocations: 33.7 kB / 0.8302 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2211, allocations: 12.03 kB / 0.8302 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2211, allocations: 7.922 kB / 0.8302 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2211, allocations: 0 / 0.8302 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.2212, allocations: 7.984 kB / 0.8302 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2212, allocations: 0 / 0.8302 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.2212, allocations: 0 / 0.8302 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2212, allocations: 0 / 0.8302 GB, free: 6.707 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 8.605e-05/0.2213, allocations: 105.8 kB / 0.8303 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.2213, allocations: 0 / 0.8303 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.481e-05/0.2214, allocations: 52.7 kB / 0.8303 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2214, allocations: 0 / 0.8303 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2214, allocations: 3.984 kB / 0.8303 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2214, allocations: 4 kB / 0.8303 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2215, allocations: 141.7 kB / 0.8305 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2215, allocations: 0 / 0.8305 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.2215, allocations: 4 kB / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2215, allocations: 0 / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2215, allocations: 3.938 kB / 0.8305 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2215, allocations: 0 / 0.8305 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2215, allocations: 0 / 0.8305 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.557e-05/0.2216, allocations: 69.09 kB / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.2217, allocations: 81.06 kB / 0.8306 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2217, allocations: 3.938 kB / 0.8306 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.2217, allocations: 0 / 0.8306 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2217, allocations: 0 / 0.8306 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2217, allocations: 0 / 0.8306 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.2217, allocations: 75.31 kB / 0.8307 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2217, allocations: 4 kB / 0.8307 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002075/0.2219, allocations: 19.92 kB / 0.8307 GB, free: 6.051 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.0005226/0.2225, allocations: 0.6124 MB / 0.8313 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.2226, allocations: 11.94 kB / 0.8313 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2226, allocations: 0 / 0.8313 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.2226, allocations: 7.938 kB / 0.8313 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2227, allocations: 0 / 0.8313 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.223, allocations: 110.7 kB / 0.8314 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2234, allocations: 0.6729 MB / 0.8321 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.133e-05/0.2234, allocations: 4.125 kB / 0.8321 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.2234, allocations: 7.438 kB / 0.8321 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2234, allocations: 0 / 0.8321 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.2475, allocations: 1.176 MB / 0.8333 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.196, allocations: 0.7031 kB / 0.8333 GB, free: 3.469 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_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_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.422363218851388] Failed to read output from testmodel.py, exit status != 0: 8.264662061817944 8.293130652 8.069256473 Calling exit ...