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.001258/0.001258, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001388/0.001388, allocations: 218.6 kB / 23.05 MB, free: 5.074 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.00243/0.00243, allocations: 282.5 kB / 313.5 MB, free: 2.906 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.214/1.214, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="cs",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.002724/0.002724, allocations: 99.02 kB / 0.7403 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1842, allocations: 95.38 MB / 0.8335 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002961/0.1871, allocations: 1.772 MB / 0.8352 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1888, allocations: 1.126 MB / 0.8363 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.1889, allocations: 0 / 0.8363 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.189, allocations: 15.86 kB / 0.8363 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1891, allocations: 27.72 kB / 0.8363 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.1895, allocations: 183.7 kB / 0.8365 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1897, allocations: 103.5 kB / 0.8366 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1898, allocations: 23.92 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1899, allocations: 43.8 kB / 0.8367 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.19, allocations: 39.84 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.19, allocations: 4 kB / 0.8367 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.1904, allocations: 207.7 kB / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.1904, allocations: 15.94 kB / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1905, allocations: 43.73 kB / 0.837 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1908, allocations: 207.4 kB / 0.8372 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1908, allocations: 0 / 0.8372 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1908, allocations: 0 / 0.8372 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1908, allocations: 0 / 0.8372 GB, free: 4.859 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.0005323/0.1913, allocations: 357.5 kB / 0.8375 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1914, allocations: 13.94 kB / 0.8375 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.179e-05/0.1914, allocations: 192 / 0.8375 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.1914, allocations: 42.73 kB / 0.8376 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1916, allocations: 20.81 kB / 0.8376 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1918, allocations: 136.2 kB / 0.8377 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-06/0.1918, allocations: 384 / 0.8377 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1918, allocations: 12.36 kB / 0.8377 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.192, allocations: 73.61 kB / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.192, allocations: 0 / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.192, allocations: 0 / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.192, allocations: 0 / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1921, allocations: 55.91 kB / 0.8378 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.1926, allocations: 359 kB / 0.8382 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1927, allocations: 50.5 kB / 0.8382 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1928, allocations: 20.94 kB / 0.8382 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/0.1929, allocations: 11.98 kB / 0.8383 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1929, allocations: 30.56 kB / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1929, allocations: 0 / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002743/0.1932, allocations: 85.61 kB / 0.8384 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1932, allocations: 59.34 kB / 0.8384 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1934, allocations: 152.3 kB / 0.8386 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1934, allocations: 25.7 kB / 0.8386 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1934, allocations: 96.12 kB / 0.8387 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1934, allocations: 15.84 kB / 0.8387 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1935, allocations: 13.72 kB / 0.8387 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1936, allocations: 322.8 kB / 0.839 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.1937, allocations: 15.98 kB / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.1937, allocations: 16 kB / 0.8391 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1938, allocations: 32.84 kB / 0.8391 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1938, allocations: 3.984 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001489/0.194, allocations: 65.64 kB / 0.8392 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.194, allocations: 4 kB / 0.8392 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.194, allocations: 0 / 0.8392 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.194, allocations: 8 kB / 0.8392 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.1941, allocations: 11.92 kB / 0.8392 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1941, allocations: 11.92 kB / 0.8392 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.1942, allocations: 11.94 kB / 0.8392 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1942, allocations: 3.984 kB / 0.8392 GB, free: 2.562 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 8.914e-05/0.1943, allocations: 114.5 kB / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1943, allocations: 7.953 kB / 0.8393 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1945, allocations: 82.33 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1945, allocations: 0 / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1945, allocations: 3.938 kB / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1945, allocations: 8.031 kB / 0.8394 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1947, allocations: 156.7 kB / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1947, allocations: 4.109 kB / 0.8396 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/0.1948, allocations: 15.86 kB / 0.8396 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1948, allocations: 4 kB / 0.8396 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1948, allocations: 0 / 0.8396 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1948, allocations: 0 / 0.8396 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1948, allocations: 7.875 kB / 0.8396 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.195, allocations: 171.5 kB / 0.8398 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.195, allocations: 11.94 kB / 0.8398 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.195, allocations: 4 kB / 0.8398 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1951, allocations: 0 / 0.8398 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1951, allocations: 7.938 kB / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1952, allocations: 3.984 kB / 0.8398 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.683e-05/0.1952, allocations: 110.1 kB / 0.8399 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.8399 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003084/0.1955, allocations: 67.8 kB / 0.8399 GB, free: 1.715 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.00065/0.1962, allocations: 0.7707 MB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1963, allocations: 31.98 kB / 0.8407 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1963, allocations: 0 / 0.8407 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.1964, allocations: 27.92 kB / 0.8408 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1967, allocations: 19.92 kB / 0.8408 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1985, allocations: 1.501 MB / 0.8422 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1988, allocations: 0.6963 MB / 0.8429 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.1988, allocations: 7.984 kB / 0.8429 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.1989, allocations: 23.44 kB / 0.843 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1989, allocations: 0 / 0.843 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.2225, allocations: 3.347 MB / 0.8462 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.8, allocations: 5.562 kB / 0.8462 GB, free: 11.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed.fmu > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.923910095007159] Failed to read output from testmodel.py, exit status != 0: 10.952796772995498 10.978645479 10.783660194 Calling exit ...