Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.00134/0.00134, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.001479/0.001479, allocations: 213.2 kB / 22.87 MB, free: 5.633 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.421/1.421, allocations: 230.5 MB / 256.5 MB, free: 8.051 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.002508/0.002508, allocations: 274.4 kB / 313.2 MB, free: 2.848 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.217/1.217, allocations: 180.8 MB / 0.5376 GB, free: 12.8 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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") [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: 99.25 kB / 0.7405 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1838, allocations: 95.39 MB / 0.8337 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003033/0.1868, allocations: 1.757 MB / 0.8354 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1884, allocations: 1.032 MB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.1885, allocations: 4 kB / 0.8364 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.1889, allocations: 147.4 kB / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.189, allocations: 55.73 kB / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1894, allocations: 107.6 kB / 0.8367 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1895, allocations: 107.4 kB / 0.8368 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1896, allocations: 3.938 kB / 0.8368 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.1897, allocations: 39.84 kB / 0.8369 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1898, allocations: 55.75 kB / 0.8369 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1898, allocations: 3.938 kB / 0.8369 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.19, allocations: 135.7 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.1901, allocations: 55.8 kB / 0.8371 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1902, allocations: 63.56 kB / 0.8372 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1906, allocations: 239 kB / 0.8374 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1906, allocations: 0 / 0.8374 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1906, allocations: 0 / 0.8374 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1906, allocations: 0 / 0.8374 GB, free: 4.168 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.000681/0.1913, allocations: 420.9 kB / 0.8378 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1913, allocations: 17.28 kB / 0.8378 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1914, allocations: 24.8 kB / 0.8378 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1915, allocations: 157.7 kB / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1916, allocations: 384 / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1916, allocations: 8.359 kB / 0.838 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1918, allocations: 69.78 kB / 0.8381 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1918, allocations: 0 / 0.8381 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1918, allocations: 0 / 0.8381 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1918, allocations: 0 / 0.8381 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.192, allocations: 59.89 kB / 0.8381 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.1925, allocations: 311.9 kB / 0.8384 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1926, allocations: 58.55 kB / 0.8385 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1927, allocations: 36.89 kB / 0.8385 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1928, allocations: 8 kB / 0.8385 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1928, allocations: 34.55 kB / 0.8385 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1928, allocations: 4 kB / 0.8385 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000421/0.1932, allocations: 141.4 kB / 0.8387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1933, allocations: 51.41 kB / 0.8387 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1935, allocations: 257.9 kB / 0.839 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1936, allocations: 25.7 kB / 0.839 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1937, allocations: 136.1 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.1937, allocations: 8.078 kB / 0.8391 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1937, allocations: 13.72 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1939, allocations: 338.8 kB / 0.8395 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.194, allocations: 27.97 kB / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.1941, allocations: 27.98 kB / 0.8395 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1943, allocations: 68.81 kB / 0.8396 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1943, allocations: 0 / 0.8396 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002415/0.1945, allocations: 113.5 kB / 0.8397 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1945, allocations: 8 kB / 0.8397 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1945, allocations: 3.984 kB / 0.8397 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1945, allocations: 0 / 0.8397 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.1946, allocations: 7.984 kB / 0.8397 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1946, allocations: 8.031 kB / 0.8397 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.1947, allocations: 7.938 kB / 0.8397 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1947, allocations: 0 / 0.8397 GB, free: 1.578 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 0.0001331/0.1949, allocations: 138.4 kB / 0.8399 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1949, allocations: 19.86 kB / 0.8399 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.1952, allocations: 118.5 kB / 0.84 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1952, allocations: 4.031 kB / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1952, allocations: 0 / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1952, allocations: 0 / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1954, allocations: 192.6 kB / 0.8402 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1955, allocations: 7.984 kB / 0.8402 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1955, allocations: 8 kB / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1955, allocations: 0 / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1955, allocations: 3.938 kB / 0.8402 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1955, allocations: 4 kB / 0.8402 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1955, allocations: 0 / 0.8402 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1958, allocations: 215.2 kB / 0.8404 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.1959, allocations: 11.91 kB / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1959, allocations: 0 / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.196, allocations: 7.984 kB / 0.8404 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.196, allocations: 4 kB / 0.8404 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.196, allocations: 0 / 0.8404 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001905/0.1962, allocations: 197.2 kB / 0.8406 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1962, allocations: 0 / 0.8406 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003057/0.1965, allocations: 55.86 kB / 0.8407 GB, free: 0.5352 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.0002476/0.1968, allocations: 147 kB / 0.8408 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.197, allocations: 59.95 kB / 0.8409 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.197, allocations: 0 / 0.8409 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1971, allocations: 39.97 kB / 0.8409 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.1976, allocations: 52.27 kB / 0.841 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/0.1982, allocations: 338.7 kB / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.1983, allocations: 122.8 kB / 0.8414 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.1984, allocations: 4 kB / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.1984, allocations: 7.438 kB / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.1984, allocations: 0 / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.005242/0.2037, allocations: 1.955 MB / 0.8433 GB, free: 13.81 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918595789000392] Failed to read output from testmodel.py, exit status != 0: 0.21090296300826594 0.226268988 0.032398996 Calling exit ...