Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001477/0.001477, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00165/0.00165, allocations: 211.7 kB / 22.24 MB, free: 4.855 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.508/1.508, 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.002596/0.002596, allocations: 279 kB / 312.7 MB, free: 2.594 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.56 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [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.002936/0.002936, allocations: 108.7 kB / 0.74 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1789, allocations: 95.38 MB / 0.8331 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003098/0.182, allocations: 1.704 MB / 0.8348 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.1827, allocations: 422.3 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1827, allocations: 0 / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.1832, allocations: 131.5 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.1833, allocations: 55.73 kB / 0.8354 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1835, allocations: 63.8 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1837, allocations: 99.5 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.1837, allocations: 7.938 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.1838, allocations: 35.78 kB / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1839, allocations: 55.75 kB / 0.8356 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1839, allocations: 4 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1841, allocations: 71.84 kB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.1842, allocations: 59.81 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1842, allocations: 51.67 kB / 0.8358 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1845, allocations: 183.2 kB / 0.836 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1845, allocations: 0 / 0.836 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1845, allocations: 0 / 0.836 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1845, allocations: 0 / 0.836 GB, free: 4.902 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.0006266/0.1851, allocations: 413 kB / 0.8364 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1852, allocations: 8.75 kB / 0.8364 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1852, allocations: 20.8 kB / 0.8364 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1854, allocations: 161.6 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1854, allocations: 8.375 kB / 0.8365 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-06/0.1854, allocations: 384 / 0.8365 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1856, allocations: 58.16 kB / 0.8366 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1856, allocations: 7.938 kB / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1856, allocations: 3.938 kB / 0.8366 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1856, allocations: 0 / 0.8366 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1858, allocations: 43.95 kB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1863, allocations: 256.5 kB / 0.8369 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1864, allocations: 42.55 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1865, allocations: 32.78 kB / 0.837 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1865, allocations: 7.984 kB / 0.837 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1866, allocations: 34.56 kB / 0.837 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1866, allocations: 0 / 0.837 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003922/0.187, allocations: 109.5 kB / 0.8371 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.187, allocations: 55.41 kB / 0.8372 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1873, allocations: 253.9 kB / 0.8374 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1873, allocations: 29.7 kB / 0.8374 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1874, allocations: 128.1 kB / 0.8376 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1875, allocations: 3.953 kB / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1875, allocations: 21.7 kB / 0.8376 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1877, allocations: 330.8 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.1878, allocations: 27.84 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.1878, allocations: 28.11 kB / 0.838 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.188, allocations: 44.81 kB / 0.838 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.188, allocations: 0 / 0.838 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002305/0.1882, allocations: 93.5 kB / 0.8381 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1882, allocations: 4 kB / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1882, allocations: 4.094 kB / 0.8381 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1883, allocations: 0 / 0.8381 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.1883, allocations: 11.98 kB / 0.8381 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1884, allocations: 0 / 0.8381 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1884, allocations: 11.89 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.1884, allocations: 0 / 0.8381 GB, free: 2.52 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.0001156/0.1885, allocations: 138.5 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1886, allocations: 19.84 kB / 0.8383 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1888, allocations: 98.61 kB / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1889, allocations: 0 / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1889, allocations: 0 / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1889, allocations: 0 / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1891, allocations: 153.3 kB / 0.8385 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1891, allocations: 4 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.1891, allocations: 11.88 kB / 0.8385 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1891, allocations: 0 / 0.8385 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1891, allocations: 3.984 kB / 0.8385 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1891, allocations: 4 kB / 0.8385 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1891, allocations: 4.031 kB / 0.8385 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1894, allocations: 187.3 kB / 0.8387 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.1894, allocations: 19.8 kB / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1895, allocations: 0 / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.1896, allocations: 7.984 kB / 0.8387 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1896, allocations: 4 kB / 0.8387 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1896, allocations: 0 / 0.8387 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001924/0.1898, allocations: 189.2 kB / 0.8389 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1898, allocations: 4.031 kB / 0.8389 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002763/0.1901, allocations: 35.94 kB / 0.839 GB, free: 1.59 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.0001879/0.1903, allocations: 123.1 kB / 0.8391 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1905, allocations: 47.89 kB / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1905, allocations: 0 / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.1906, allocations: 19.98 kB / 0.8391 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1911, allocations: 52.45 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.1917, allocations: 330.5 kB / 0.8395 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.1918, allocations: 126.8 kB / 0.8396 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.1919, allocations: 4 kB / 0.8396 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1919, allocations: 15.42 kB / 0.8396 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1919, allocations: 0 / 0.8396 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of Templates: time 0.005703/0.1976, allocations: 2.073 MB / 0.8417 GB, free: 14.84 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.319470755755901] Failed to read output from testmodel.py, exit status != 0: 0.20503211952745914 0.22120455000000003 0.033607856000000005 Calling exit ...