Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001928/0.001928, allocations: 112.2 kB / 16.46 MB, free: 6.453 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.002342/0.002342, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.002518/0.002518, allocations: 298.5 kB / 309.1 MB, free: 3.957 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.266/1.266, allocations: 180.9 MB / 0.5333 GB, free: 13.71 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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004017/0.004017, allocations: 101.6 kB / 0.7342 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1783, allocations: 95.35 MB / 0.8274 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003124/0.1814, allocations: 1.451 MB / 0.8288 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.182, allocations: 252.5 kB / 0.829 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.1821, allocations: 0 / 0.829 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.1821, allocations: 3.938 kB / 0.829 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.1821, allocations: 0 / 0.829 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1825, allocations: 59.83 kB / 0.8291 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.1826, allocations: 23.86 kB / 0.8291 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.1827, allocations: 11.98 kB / 0.8291 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.1827, allocations: 11.98 kB / 0.8291 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.1828, allocations: 7.938 kB / 0.8291 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1828, allocations: 4 kB / 0.8291 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1829, allocations: 63.88 kB / 0.8292 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1829, allocations: 0 / 0.8292 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.183, allocations: 11.92 kB / 0.8292 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1831, allocations: 56.14 kB / 0.8293 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1831, allocations: 0 / 0.8293 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1831, allocations: 0 / 0.8293 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1831, allocations: 0 / 0.8293 GB, free: 7.777 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005438/0.1837, allocations: 351.3 kB / 0.8296 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1837, allocations: 8.031 kB / 0.8296 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1838, allocations: 30.75 kB / 0.8296 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1838, allocations: 8.891 kB / 0.8296 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1839, allocations: 168.3 kB / 0.8298 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1839, allocations: 384 / 0.8298 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1839, allocations: 4.375 kB / 0.8298 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1841, allocations: 46.23 kB / 0.8299 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1841, allocations: 7.938 kB / 0.8299 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1841, allocations: 4 kB / 0.8299 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1842, allocations: 0 / 0.8299 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1843, allocations: 31.95 kB / 0.8299 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.1847, allocations: 249 kB / 0.8301 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1848, allocations: 44.11 kB / 0.8302 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.1849, allocations: 24.91 kB / 0.8302 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.1856, allocations: 453.5 kB / 0.8306 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1857, allocations: 34.56 kB / 0.8307 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1857, allocations: 4 kB / 0.8307 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.186, allocations: 77.59 kB / 0.8307 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1861, allocations: 55.34 kB / 0.8308 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.1862, allocations: 101.9 kB / 0.8309 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1862, allocations: 25.7 kB / 0.8309 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.1863, allocations: 96.23 kB / 0.831 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1863, allocations: 3.953 kB / 0.831 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1863, allocations: 17.66 kB / 0.831 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1864, allocations: 310.8 kB / 0.8313 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.1865, allocations: 15.98 kB / 0.8313 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.1866, allocations: 19.97 kB / 0.8314 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1868, allocations: 40.89 kB / 0.8314 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1868, allocations: 7.938 kB / 0.8314 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.187, allocations: 65.59 kB / 0.8315 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.187, allocations: 8 kB / 0.8315 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.187, allocations: 0 / 0.8315 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.187, allocations: 0 / 0.8315 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1871, allocations: 7.984 kB / 0.8315 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1871, allocations: 4.031 kB / 0.8315 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1871, allocations: 7.938 kB / 0.8315 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1872, allocations: 0 / 0.8315 GB, free: 5.164 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 (2): * Single equations (assignments): 2 * 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.099e-05/0.1872, allocations: 117.8 kB / 0.8316 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1873, allocations: 0 / 0.8316 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1875, allocations: 72.78 kB / 0.8317 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1875, allocations: 4.031 kB / 0.8317 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1875, allocations: 0 / 0.8317 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1875, allocations: 0 / 0.8317 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1877, allocations: 161.5 kB / 0.8318 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1877, allocations: 0 / 0.8318 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.1878, allocations: 11.98 kB / 0.8318 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1878, allocations: 0 / 0.8318 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1878, allocations: 4 kB / 0.8319 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1878, allocations: 0 / 0.8319 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1878, allocations: 0 / 0.8319 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.188, allocations: 171.4 kB / 0.832 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1881, allocations: 77.11 kB / 0.8321 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1881, allocations: 7.984 kB / 0.8321 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1882, allocations: 0 / 0.8321 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1882, allocations: 7.984 kB / 0.8321 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1882, allocations: 0 / 0.8321 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.1883, allocations: 87.31 kB / 0.8322 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1883, allocations: 0 / 0.8322 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002399/0.1885, allocations: 15.94 kB / 0.8322 GB, free: 4.344 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 (2): * Single equations (assignments): 2 * 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.0006616/0.1892, allocations: 0.7162 MB / 0.8329 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1894, allocations: 35.97 kB / 0.8329 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1894, allocations: 0 / 0.8329 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.1895, allocations: 31.97 kB / 0.833 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1897, allocations: 9.125 kB / 0.833 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.1901, allocations: 139.2 kB / 0.8331 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1905, allocations: 0.6768 MB / 0.8338 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.1905, allocations: 0 / 0.8338 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1905, allocations: 11.44 kB / 0.8338 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.1905, allocations: 0 / 0.8338 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.2149, allocations: 1.536 MB / 0.8353 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.169, allocations: 6.891 kB / 0.8353 GB, free: 1.188 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.582909652031958] Failed to read output from testmodel.py, exit status != 0: 8.23966463515535 8.266077089 8.077972051 Calling exit ...