Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6086/0.6086, allocations: 95.48 MB / 364.8 MB, free: 10.14 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.92 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3962, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.6658/1.062, allocations: 179.9 MB / 0.6774 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0042/1.066, allocations: 3.128 MB / 0.6804 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/1.067, allocations: 2.188 kB / 0.6804 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/1.068, allocations: 231.6 kB / 0.6806 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008339/1.068, allocations: 407.2 kB / 0.681 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/1.072, allocations: 1.207 MB / 0.6822 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002046/1.074, allocations: 1.713 MB / 0.6839 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/1.075, allocations: 123.5 kB / 0.684 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/1.077, allocations: 0.7971 MB / 0.6848 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/1.078, allocations: 441.7 kB / 0.6852 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/1.078, allocations: 28.12 kB / 0.6852 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/1.082, allocations: 1.433 MB / 0.6866 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/1.082, allocations: 207.4 kB / 0.6868 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/1.082, allocations: 283.4 kB / 0.6871 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/1.085, allocations: 1.531 MB / 0.6886 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.085, allocations: 2.5 kB / 0.6886 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.085, allocations: 0 / 0.6886 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.085, allocations: 5.203 kB / 0.6886 GB, free: 8.395 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001945/1.087, allocations: 0.8844 MB / 0.6895 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.087, allocations: 13.95 kB / 0.6895 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/1.088, allocations: 64.69 kB / 0.6895 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/1.088, allocations: 354.8 kB / 0.6899 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.088, allocations: 32.22 kB / 0.6899 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/1.088, allocations: 42.47 kB / 0.6899 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/1.089, allocations: 488.9 kB / 0.6904 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.089, allocations: 0 / 0.6904 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/1.089, allocations: 18.94 kB / 0.6904 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/1.089, allocations: 13.56 kB / 0.6904 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/1.09, allocations: 0.5526 MB / 0.691 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/1.093, allocations: 2.181 MB / 0.6931 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/1.094, allocations: 415.9 kB / 0.6935 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/1.095, allocations: 225 kB / 0.6937 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009309/1.095, allocations: 0.8821 MB / 0.6946 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.096, allocations: 39.31 kB / 0.6946 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 1.984e-06/1.096, allocations: 0 / 0.6946 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.00452/1.1, allocations: 1.873 MB / 0.6965 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.1, allocations: 56.44 kB / 0.6965 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/1.1, allocations: 325.1 kB / 0.6968 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/1.101, allocations: 35.39 kB / 0.6968 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.101, allocations: 199.3 kB / 0.697 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.101, allocations: 185.1 kB / 0.6972 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.101, allocations: 96.89 kB / 0.6973 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.101, allocations: 355.4 kB / 0.6976 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.102, allocations: 196.3 kB / 0.6978 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/1.102, allocations: 269 kB / 0.6981 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/1.103, allocations: 498.8 kB / 0.6986 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.103, allocations: 0 / 0.6986 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001031/1.104, allocations: 0.6104 MB / 0.6992 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.104, allocations: 7.875 kB / 0.6992 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.104, allocations: 2.75 kB / 0.6992 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/1.104, allocations: 52.58 kB / 0.6992 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/1.105, allocations: 130 kB / 0.6993 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.107, allocations: 2.628 MB / 0.7019 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/1.107, allocations: 34.27 kB / 0.7019 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/1.107, allocations: 23.11 kB / 0.702 GB, free: 15.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003044/1.108, allocations: 188 kB / 0.7021 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/1.108, allocations: 50.03 kB / 0.7022 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/1.109, allocations: 0.6162 MB / 0.7028 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.109, allocations: 4.812 kB / 0.7028 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.109, allocations: 2.656 kB / 0.7028 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008293/1.11, allocations: 0.7035 MB / 0.7035 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.112, allocations: 1.235 MB / 0.7047 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.112, allocations: 1.938 kB / 0.7047 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/1.112, allocations: 128 kB / 0.7048 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.112, allocations: 6.703 kB / 0.7048 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/1.112, allocations: 13.06 kB / 0.7048 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/1.112, allocations: 4.406 kB / 0.7048 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.112, allocations: 5.141 kB / 0.7048 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.114, allocations: 0.8528 MB / 0.7057 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/1.114, allocations: 185.2 kB / 0.7059 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/1.114, allocations: 12.59 kB / 0.7059 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/1.115, allocations: 40.38 kB / 0.7059 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/1.115, allocations: 35.48 kB / 0.7059 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/1.115, allocations: 25.48 kB / 0.706 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002985/1.115, allocations: 244 kB / 0.7062 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.115, allocations: 1.094 kB / 0.7062 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001009/1.116, allocations: 281.9 kB / 0.7065 GB, free: 12.69 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (56): * Single equations (assignments): 56 * 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.000686/1.117, allocations: 337.5 kB / 0.7068 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00118/1.118, allocations: 0.691 MB / 0.7075 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.118, allocations: 2.125 kB / 0.7075 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/1.118, allocations: 249.3 kB / 0.7077 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.12, allocations: 291.9 kB / 0.708 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/1.122, allocations: 1.299 MB / 0.7093 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.123, allocations: 0.8503 MB / 0.7101 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007331/1.123, allocations: 129.8 kB / 0.7102 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/1.124, allocations: 52.95 kB / 0.7103 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/1.124, allocations: 0 / 0.7103 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.02243/1.146, allocations: 13.34 MB / 0.7233 GB, free: 13.56 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe 2>&1)