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.001265/0.001265, allocations: 104.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.001399/0.001399, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.363/1.363, 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.002453/0.002453, allocations: 293.7 kB / 313.5 MB, free: 2.699 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.14/1.14, allocations: 180.6 MB / 0.5377 GB, free: 14.62 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.002902/0.002902, allocations: 107.1 kB / 0.7407 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1806, allocations: 95.38 MB / 0.8338 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002924/0.1835, allocations: 1.706 MB / 0.8355 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.1843, allocations: 462.1 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1843, allocations: 4 kB / 0.836 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.1847, allocations: 127.5 kB / 0.8361 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.1848, allocations: 59.67 kB / 0.8361 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.185, allocations: 63.8 kB / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1852, allocations: 99.5 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.1852, allocations: 7.938 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1853, allocations: 35.84 kB / 0.8363 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.1854, allocations: 63.67 kB / 0.8364 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1854, allocations: 4 kB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1855, allocations: 71.86 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.1856, allocations: 59.8 kB / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1857, allocations: 47.69 kB / 0.8366 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1859, allocations: 187.2 kB / 0.8367 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1859, allocations: 7.984 kB / 0.8368 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1859, allocations: 0 / 0.8368 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.1859, allocations: 3.938 kB / 0.8368 GB, free: 4.836 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.0005898/0.1865, allocations: 405 kB / 0.8371 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1866, allocations: 9.344 kB / 0.8372 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1866, allocations: 20.8 kB / 0.8372 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1868, allocations: 165.6 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1868, allocations: 4.375 kB / 0.8373 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1868, allocations: 8.312 kB / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.187, allocations: 66.16 kB / 0.8374 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.187, allocations: 3.938 kB / 0.8374 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.187, allocations: 0 / 0.8374 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.187, allocations: 0 / 0.8374 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1872, allocations: 59.95 kB / 0.8375 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1877, allocations: 276.6 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1878, allocations: 62.48 kB / 0.8378 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.1879, allocations: 36.83 kB / 0.8378 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1879, allocations: 12 kB / 0.8378 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.188, allocations: 34.56 kB / 0.8379 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.188, allocations: 0 / 0.8379 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.1884, allocations: 137.5 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1884, allocations: 55.39 kB / 0.8381 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1887, allocations: 253.9 kB / 0.8383 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1887, allocations: 25.7 kB / 0.8383 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1888, allocations: 136.1 kB / 0.8385 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1888, allocations: 11.83 kB / 0.8385 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1888, allocations: 13.72 kB / 0.8385 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.189, allocations: 330.8 kB / 0.8388 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.1891, allocations: 27.98 kB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.1892, allocations: 36.09 kB / 0.8389 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1894, allocations: 60.81 kB / 0.8389 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1894, allocations: 0 / 0.8389 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002345/0.1896, allocations: 113.4 kB / 0.839 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1896, allocations: 10.66 kB / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1896, allocations: 4.094 kB / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1896, allocations: 0 / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1897, allocations: 15.88 kB / 0.839 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1897, allocations: 3.984 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.1898, allocations: 4 kB / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1898, allocations: 8 kB / 0.8391 GB, free: 2.305 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.0001071/0.1899, allocations: 130.5 kB / 0.8392 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1899, allocations: 19.84 kB / 0.8392 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1902, allocations: 122.6 kB / 0.8393 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1902, allocations: 0 / 0.8393 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1902, allocations: 0 / 0.8393 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1902, allocations: 0 / 0.8393 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1904, allocations: 161.3 kB / 0.8395 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1904, allocations: 0 / 0.8395 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.1905, allocations: 15.92 kB / 0.8395 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1905, allocations: 0 / 0.8395 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1905, allocations: 3.938 kB / 0.8395 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1905, allocations: 3.938 kB / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1905, allocations: 4.031 kB / 0.8395 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1908, allocations: 203.4 kB / 0.8397 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1908, allocations: 19.8 kB / 0.8397 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1908, allocations: 0 / 0.8397 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.1909, allocations: 15.97 kB / 0.8397 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1909, allocations: 0 / 0.8397 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.191, allocations: 4 kB / 0.8397 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001759/0.1911, allocations: 189.2 kB / 0.8399 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1911, allocations: 4.031 kB / 0.8399 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000256/0.1914, allocations: 35.94 kB / 0.84 GB, free: 1.328 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.0001806/0.1916, allocations: 127.1 kB / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1918, allocations: 63.89 kB / 0.8401 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1918, allocations: 0 / 0.8401 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.1919, allocations: 31.97 kB / 0.8402 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1923, allocations: 52.47 kB / 0.8402 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.1929, allocations: 368.2 kB / 0.8406 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1931, allocations: 126.8 kB / 0.8407 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1931, allocations: 11.44 kB / 0.8407 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1931, allocations: 3.938 kB / 0.8407 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.003716/0.1968, allocations: 1.942 MB / 0.8426 GB, free: 14.58 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: 8.141974667087197] Failed to read output from testmodel.py, exit status != 0: 0.20374605432152748 0.21812715000000002 0.029332085 Calling exit ...