Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.00139/0.00139, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001632/0.001632, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.785 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.002684/0.002684, allocations: 286.4 kB / 312.7 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.278/1.278, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [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.00306/0.00306, allocations: 107.6 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1868, allocations: 95.37 MB / 0.8331 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003134/0.1899, allocations: 1.704 MB / 0.8348 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1907, allocations: 458.1 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.1907, allocations: 4 kB / 0.8352 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.1911, allocations: 119.5 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.1912, allocations: 67.66 kB / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1915, allocations: 63.8 kB / 0.8355 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1917, allocations: 107.4 kB / 0.8356 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1917, allocations: 7.938 kB / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.1918, allocations: 39.84 kB / 0.8356 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1919, allocations: 47.75 kB / 0.8357 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1919, allocations: 4 kB / 0.8357 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.1921, allocations: 83.78 kB / 0.8357 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.1922, allocations: 51.81 kB / 0.8358 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1923, allocations: 55.67 kB / 0.8358 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1925, allocations: 187.2 kB / 0.836 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1925, allocations: 4 kB / 0.836 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1925, allocations: 0 / 0.836 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1925, allocations: 0 / 0.836 GB, free: 4.855 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.0006186/0.1932, allocations: 409 kB / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1932, allocations: 9.344 kB / 0.8364 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1932, allocations: 20.8 kB / 0.8364 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1934, allocations: 169.6 kB / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1934, allocations: 384 / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1934, allocations: 384 / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1936, allocations: 62.23 kB / 0.8367 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1936, allocations: 3.938 kB / 0.8367 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1936, allocations: 0 / 0.8367 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1937, allocations: 4 kB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1938, allocations: 55.95 kB / 0.8367 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.1943, allocations: 272.5 kB / 0.837 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1945, allocations: 70.42 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1946, allocations: 44.83 kB / 0.8371 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.1946, allocations: 15.98 kB / 0.8371 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1946, allocations: 30.56 kB / 0.8371 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1946, allocations: 0 / 0.8371 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004093/0.195, allocations: 137.4 kB / 0.8373 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1951, allocations: 55.41 kB / 0.8373 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1954, allocations: 258 kB / 0.8376 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1954, allocations: 29.7 kB / 0.8376 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.1955, allocations: 128.1 kB / 0.8377 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1955, allocations: 11.89 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1955, allocations: 13.7 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1957, allocations: 330.8 kB / 0.8381 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.1958, allocations: 27.97 kB / 0.8381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.1959, allocations: 27.98 kB / 0.8381 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1961, allocations: 72.8 kB / 0.8382 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1961, allocations: 4 kB / 0.8382 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002392/0.1963, allocations: 117.4 kB / 0.8383 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1963, allocations: 4 kB / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1963, allocations: 0 / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1963, allocations: 0 / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.1964, allocations: 11.98 kB / 0.8383 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1964, allocations: 4.031 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.1965, allocations: 7.984 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1965, allocations: 0 / 0.8383 GB, free: 2.324 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.0001226/0.1966, allocations: 134.5 kB / 0.8384 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1967, allocations: 19.84 kB / 0.8385 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.1969, allocations: 118.6 kB / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1969, allocations: 0 / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1969, allocations: 0 / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1969, allocations: 7.969 kB / 0.8386 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1972, allocations: 165.2 kB / 0.8387 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1972, allocations: 0 / 0.8387 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1972, allocations: 15.92 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1972, allocations: 0 / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1972, allocations: 4 kB / 0.8388 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1972, allocations: 3.938 kB / 0.8388 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1972, allocations: 0 / 0.8388 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1975, allocations: 203.4 kB / 0.839 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.1975, allocations: 23.78 kB / 0.839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1976, allocations: 0 / 0.839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.1977, allocations: 4 kB / 0.839 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1977, allocations: 11.98 kB / 0.839 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1977, allocations: 0 / 0.839 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001898/0.1979, allocations: 181.2 kB / 0.8392 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1979, allocations: 0 / 0.8392 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002719/0.1982, allocations: 43.92 kB / 0.8392 GB, free: 1.344 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.0002007/0.1984, allocations: 131.1 kB / 0.8393 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.1986, allocations: 59.95 kB / 0.8394 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1986, allocations: 0 / 0.8394 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.1987, allocations: 31.97 kB / 0.8394 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1992, allocations: 56.45 kB / 0.8395 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1998, allocations: 330.5 kB / 0.8398 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.1999, allocations: 122.8 kB / 0.8399 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.2, allocations: 8 kB / 0.8399 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.2, allocations: 7.438 kB / 0.8399 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2, allocations: 0 / 0.8399 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of Templates: time 0.005437/0.2054, allocations: 2.112 MB / 0.842 GB, free: 14.51 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.31451503187418] Failed to read output from testmodel.py, exit status != 0: 0.212954331189394 0.22859085499999995 0.032932089000000005 Calling exit ...