Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.001243/0.001243, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00139/0.00139, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002519/0.002519, allocations: 297.5 kB / 312.7 MB, free: 2.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.185/1.185, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",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.002892/0.002892, allocations: 103.4 kB / 0.7394 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1826, allocations: 95.39 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.003065/0.1856, allocations: 1.725 MB / 0.8343 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1873, allocations: 1.013 MB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.1874, allocations: 4 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.1875, allocations: 7.922 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1876, allocations: 27.72 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1881, allocations: 197 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1882, allocations: 91.53 kB / 0.8356 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1883, allocations: 19.88 kB / 0.8356 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1885, allocations: 43.91 kB / 0.8357 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1886, allocations: 39.78 kB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1886, allocations: 8 kB / 0.8357 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.189, allocations: 191.7 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.189, allocations: 11.94 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.189, allocations: 39.86 kB / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1894, allocations: 219.2 kB / 0.8361 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1894, allocations: 3.938 kB / 0.8361 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1894, allocations: 0 / 0.8361 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1894, allocations: 0 / 0.8361 GB, free: 4.707 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005966/0.19, allocations: 349.6 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.19, allocations: 13.34 kB / 0.8365 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.1901, allocations: 38.73 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1902, allocations: 16.89 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1905, allocations: 138.4 kB / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1905, allocations: 4.375 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1905, allocations: 4.375 kB / 0.8367 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1907, allocations: 73.73 kB / 0.8368 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1907, allocations: 3.938 kB / 0.8368 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1907, allocations: 4 kB / 0.8368 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1907, allocations: 0 / 0.8368 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1909, allocations: 47.97 kB / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.1914, allocations: 307.7 kB / 0.8371 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1915, allocations: 42.56 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.1916, allocations: 16.86 kB / 0.8372 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/0.1917, allocations: 12.08 kB / 0.8372 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1917, allocations: 30.56 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1917, allocations: 0 / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002962/0.192, allocations: 89.55 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1921, allocations: 55.41 kB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1922, allocations: 159.9 kB / 0.8375 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1922, allocations: 25.7 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.1923, allocations: 92.14 kB / 0.8376 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1923, allocations: 15.89 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1924, allocations: 13.72 kB / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1925, allocations: 322.8 kB / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.1926, allocations: 12 kB / 0.8379 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.1926, allocations: 15.98 kB / 0.838 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.1927, allocations: 32.84 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1927, allocations: 4 kB / 0.838 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001497/0.1929, allocations: 77.56 kB / 0.8381 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1929, allocations: 5.984 kB / 0.8381 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1929, allocations: 7.938 kB / 0.8381 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1929, allocations: 0 / 0.8381 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.193, allocations: 7.984 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.193, allocations: 3.938 kB / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1931, allocations: 7.938 kB / 0.8381 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1931, allocations: 0 / 0.8381 GB, free: 2.508 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 (3): * Single equations (assignments): 3 * 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 0.0001006/0.1932, allocations: 118.5 kB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1932, allocations: 11.89 kB / 0.8382 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1934, allocations: 85.94 kB / 0.8383 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1934, allocations: 0 / 0.8383 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1934, allocations: 3.938 kB / 0.8383 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1934, allocations: 0 / 0.8383 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1937, allocations: 160.7 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1937, allocations: 0 / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.1937, allocations: 8 kB / 0.8385 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1937, allocations: 0 / 0.8385 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1937, allocations: 7.984 kB / 0.8385 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1937, allocations: 0 / 0.8385 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1937, allocations: 3.938 kB / 0.8385 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.194, allocations: 171.5 kB / 0.8387 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.194, allocations: 3.953 kB / 0.8387 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.194, allocations: 0 / 0.8387 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1941, allocations: 4 kB / 0.8387 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1941, allocations: 15.86 kB / 0.8387 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1941, allocations: 4.422 kB / 0.8387 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.1942, allocations: 105.8 kB / 0.8388 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1942, allocations: 4 kB / 0.8388 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000317/0.1945, allocations: 63.75 kB / 0.8388 GB, free: 1.668 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 (4): * Single equations (assignments): 4 * 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.0007026/0.1952, allocations: 0.7707 MB / 0.8396 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1954, allocations: 43.89 kB / 0.8396 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1954, allocations: 0 / 0.8396 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.1955, allocations: 20 kB / 0.8397 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1957, allocations: 27.91 kB / 0.8397 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1975, allocations: 1.492 MB / 0.8411 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.14e-05/0.1976, allocations: 79.31 kB / 0.8412 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.1977, allocations: 11.94 kB / 0.8412 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.1977, allocations: 27.42 kB / 0.8413 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1977, allocations: 0 / 0.8413 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.2292, allocations: 3.797 MB / 0.845 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.94, allocations: 8.219 kB / 0.845 GB, free: 11.42 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed.fmu > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.072017566300929] Failed to read output from testmodel.py, exit status != 0: 11.047607435844839 11.06592756 10.873431494 Calling exit ...