Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001399/0.001399, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001564/0.001564, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002592/0.002592, allocations: 284 kB / 313.5 MB, free: 2.609 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.23/1.23, allocations: 180.7 MB / 0.5377 GB, free: 14.48 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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [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.002997/0.002997, allocations: 105.7 kB / 0.7407 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1847, allocations: 95.38 MB / 0.8339 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002997/0.1877, allocations: 1.576 MB / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1894, allocations: 0.9219 MB / 0.8363 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1895, allocations: 3.938 kB / 0.8363 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.1895, allocations: 3.938 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1898, allocations: 23.78 kB / 0.8363 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1902, allocations: 163.5 kB / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1903, allocations: 79.64 kB / 0.8366 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1904, allocations: 12 kB / 0.8366 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1906, allocations: 43.84 kB / 0.8366 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.1907, allocations: 31.84 kB / 0.8367 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1907, allocations: 7.938 kB / 0.8367 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.1911, allocations: 267.6 kB / 0.8369 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.1911, allocations: 19.94 kB / 0.8369 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.1912, allocations: 27.84 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1915, allocations: 167.3 kB / 0.8371 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1915, allocations: 0 / 0.8371 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1915, allocations: 0 / 0.8371 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1915, allocations: 3.938 kB / 0.8371 GB, free: 4.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005934/0.1921, allocations: 329.7 kB / 0.8374 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1921, allocations: 13.94 kB / 0.8375 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.1924, allocations: 32.86 kB / 0.8375 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1927, allocations: 140.8 kB / 0.8376 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1927, allocations: 4.375 kB / 0.8376 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1927, allocations: 4.375 kB / 0.8376 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1929, allocations: 65.97 kB / 0.8377 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1929, allocations: 0 / 0.8377 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1929, allocations: 0 / 0.8377 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1929, allocations: 4 kB / 0.8377 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1931, allocations: 51.89 kB / 0.8378 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1935, allocations: 228.5 kB / 0.838 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1937, allocations: 54.48 kB / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1938, allocations: 36.97 kB / 0.8381 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1938, allocations: 0 / 0.8381 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1938, allocations: 38.5 kB / 0.8381 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1938, allocations: 0 / 0.8381 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003806/0.1942, allocations: 109.6 kB / 0.8382 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1942, allocations: 51.41 kB / 0.8382 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1944, allocations: 134.2 kB / 0.8384 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.1944, allocations: 25.7 kB / 0.8384 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.1945, allocations: 96.12 kB / 0.8385 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1945, allocations: 19.8 kB / 0.8385 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.1945, allocations: 17.72 kB / 0.8385 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1947, allocations: 326.8 kB / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.1947, allocations: 19.98 kB / 0.8389 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1948, allocations: 20.36 kB / 0.8389 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.195, allocations: 60.77 kB / 0.8389 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.195, allocations: 3.938 kB / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002196/0.1952, allocations: 93.61 kB / 0.839 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1952, allocations: 15.94 kB / 0.839 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1952, allocations: 0 / 0.839 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1952, allocations: 0 / 0.839 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1954, allocations: 19.92 kB / 0.8391 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1954, allocations: 0 / 0.8391 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.1954, allocations: 4 kB / 0.8391 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1954, allocations: 3.984 kB / 0.8391 GB, free: 2.289 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 (6): * Single equations (assignments): 6 * 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.313e-05/0.1955, allocations: 122.4 kB / 0.8392 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.1956, allocations: 11.94 kB / 0.8392 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.1958, allocations: 102 kB / 0.8393 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1958, allocations: 4 kB / 0.8393 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1958, allocations: 0 / 0.8393 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1958, allocations: 0 / 0.8393 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.196, allocations: 125.3 kB / 0.8394 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.196, allocations: 0 / 0.8394 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.1961, allocations: 15.98 kB / 0.8394 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1961, allocations: 0 / 0.8394 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1961, allocations: 0 / 0.8394 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1961, allocations: 3.938 kB / 0.8394 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1961, allocations: 11.98 kB / 0.8395 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1964, allocations: 191.5 kB / 0.8396 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.1964, allocations: 7.953 kB / 0.8396 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1964, allocations: 7.984 kB / 0.8396 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.1965, allocations: 4 kB / 0.8397 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1965, allocations: 3.984 kB / 0.8397 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1966, allocations: 4 kB / 0.8397 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.1966, allocations: 101.8 kB / 0.8398 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1966, allocations: 4 kB / 0.8398 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002449/0.1969, allocations: 23.94 kB / 0.8398 GB, free: 1.488 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 (6): * Single equations (assignments): 6 * 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.0001749/0.1971, allocations: 111.2 kB / 0.8399 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1973, allocations: 51.91 kB / 0.8399 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1973, allocations: 0 / 0.8399 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.1974, allocations: 35.97 kB / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1977, allocations: 16.72 kB / 0.84 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1981, allocations: 237.6 kB / 0.8402 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.387e-05/0.1982, allocations: 75.58 kB / 0.8403 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1982, allocations: 11.44 kB / 0.8403 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.1982, allocations: 0 / 0.8403 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of Templates: time 0.003176/0.2014, allocations: 1.189 MB / 0.8415 GB, free: 15.72 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.34921069117263] Failed to read output from testmodel.py, exit status != 0: 0.2088304660283029 0.22400040399999996 0.029373904000000003 Calling exit ...