Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.001327/0.001327, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.001363/0.001363, allocations: 161 kB / 23.01 MB, free: 4.961 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.369/1.369, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8595/0.8595, allocations: 110.3 MB / 370.1 MB, free: 15.69 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: BuildSysPro 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.002068/0.002068, allocations: 69.88 kB / 0.5483 GB, free: 13.31 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 87.85 MB / 0.6341 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002536/0.1857, allocations: 1.289 MB / 0.6353 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.1897, allocations: 3.079 MB / 0.6383 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1897, allocations: 0 / 0.6383 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1897, allocations: 0 / 0.6383 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.1897, allocations: 11.88 kB / 0.6384 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.1903, allocations: 103.5 kB / 0.6385 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.1903, allocations: 43.83 kB / 0.6385 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.1904, allocations: 7.938 kB / 0.6385 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1904, allocations: 15.98 kB / 0.6385 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.1905, allocations: 15.92 kB / 0.6385 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1905, allocations: 0 / 0.6385 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1907, allocations: 67.81 kB / 0.6386 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.1907, allocations: 7.984 kB / 0.6386 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.1907, allocations: 19.92 kB / 0.6386 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1909, allocations: 75.73 kB / 0.6387 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1909, allocations: 0 / 0.6387 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1909, allocations: 0 / 0.6387 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1909, allocations: 0 / 0.6387 GB, free: 0.5352 MB / 0.5919 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.0004028/0.1913, allocations: 276.1 kB / 0.639 GB, free: 244 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1914, allocations: 12.02 kB / 0.639 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1915, allocations: 8.891 kB / 0.639 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1916, allocations: 106.5 kB / 0.6391 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1916, allocations: 4.375 kB / 0.6391 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1916, allocations: 8.375 kB / 0.6391 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1918, allocations: 134.9 kB / 0.6392 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1918, allocations: 0 / 0.6392 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1918, allocations: 0 / 0.6392 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1919, allocations: 0 / 0.6392 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.1919, allocations: 19.98 kB / 0.6392 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.192, allocations: 113.2 kB / 0.6394 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1921, allocations: 46.56 kB / 0.6394 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.1922, allocations: 16.84 kB / 0.6394 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.1927, allocations: 254 kB / 0.6397 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1927, allocations: 30.56 kB / 0.6397 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1927, allocations: 0 / 0.6397 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005262/0.1933, allocations: 221.2 kB / 0.6399 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1933, allocations: 51.41 kB / 0.6399 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.1934, allocations: 105.8 kB / 0.64 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1934, allocations: 33.64 kB / 0.6401 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.1935, allocations: 88.09 kB / 0.6402 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1935, allocations: 27.78 kB / 0.6402 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1935, allocations: 29.67 kB / 0.6402 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1937, allocations: 322.8 kB / 0.6405 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.1937, allocations: 12 kB / 0.6405 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.1938, allocations: 49.58 kB / 0.6406 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.1938, allocations: 80.95 kB / 0.6407 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1938, allocations: 0 / 0.6407 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001424/0.194, allocations: 105.5 kB / 0.6408 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.194, allocations: 4 kB / 0.6408 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.194, allocations: 0 / 0.6408 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.194, allocations: 4 kB / 0.6408 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.1941, allocations: 16 kB / 0.6408 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1941, allocations: 4 kB / 0.6408 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.1941, allocations: 3.984 kB / 0.6408 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1941, allocations: 8 kB / 0.6408 GB, free: 14.11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.811e-05/0.1942, allocations: 117.7 kB / 0.6409 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1943, allocations: 12.36 kB / 0.6409 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.1943, allocations: 8.125 kB / 0.6409 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1943, allocations: 3.984 kB / 0.6409 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1943, allocations: 0 / 0.6409 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1943, allocations: 0 / 0.6409 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1945, allocations: 129.3 kB / 0.6411 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1945, allocations: 0 / 0.6411 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.1946, allocations: 15.98 kB / 0.6411 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1946, allocations: 4 kB / 0.6411 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1946, allocations: 0 / 0.6411 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1946, allocations: 0 / 0.6411 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1946, allocations: 7.938 kB / 0.6411 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1948, allocations: 175.4 kB / 0.6413 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.1948, allocations: 3.953 kB / 0.6413 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1948, allocations: 8 kB / 0.6413 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1949, allocations: 4.031 kB / 0.6413 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.195, allocations: 4 kB / 0.6413 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.195, allocations: 0 / 0.6413 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.195, allocations: 83.27 kB / 0.6413 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.6413 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002296/0.1952, allocations: 16 kB / 0.6414 GB, free: 13.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001288/0.1954, allocations: 107.2 kB / 0.6415 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1955, allocations: 43.84 kB / 0.6415 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1955, allocations: 0 / 0.6415 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.1955, allocations: 23.92 kB / 0.6415 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1958, allocations: 7.938 kB / 0.6415 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.1964, allocations: 327 kB / 0.6419 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.899e-05/0.1964, allocations: 71.28 kB / 0.6419 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.883e-05/0.1965, allocations: 11.98 kB / 0.6419 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1965, allocations: 12.5 kB / 0.6419 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.1965, allocations: 0 / 0.6419 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of Templates: time 0.002972/0.1995, allocations: 0.6317 MB / 0.6426 GB, free: 12.21 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.226457045064308] Failed to read output from testmodel.py, exit status != 0: 0.20791092899162322 0.22139528900000002 0.027547338 Calling exit ...