Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.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.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.00114, 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.001209/0.001209, allocations: 189.9 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.973 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.5965/0.5965, 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.001558/0.001558, allocations: 59.92 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4189, allocations: 69.06 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.6594/1.078, allocations: 183.1 MB / 0.6804 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007358/1.086, allocations: 4.414 MB / 0.6848 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/1.087, allocations: 2.656 kB / 0.6848 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/1.088, allocations: 222 kB / 0.685 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/1.09, allocations: 414.2 kB / 0.6854 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009187/1.099, allocations: 1.921 MB / 0.6872 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002553/1.102, allocations: 1.742 MB / 0.6889 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/1.102, allocations: 130.9 kB / 0.6891 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/1.106, allocations: 0.9574 MB / 0.69 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/1.107, allocations: 454.7 kB / 0.6904 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/1.107, allocations: 27.78 kB / 0.6905 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006989/1.114, allocations: 2.236 MB / 0.6926 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/1.115, allocations: 205.1 kB / 0.6928 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.116, allocations: 294.8 kB / 0.6931 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008182/1.124, allocations: 2.129 MB / 0.6952 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.124, allocations: 0 / 0.6952 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/1.124, allocations: 0 / 0.6952 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.161e-05/1.124, allocations: 4 kB / 0.6952 GB, free: 6.711 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003535/1.128, allocations: 1.025 MB / 0.6962 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.128, allocations: 11.39 kB / 0.6962 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/1.128, allocations: 58.58 kB / 0.6963 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/1.129, allocations: 353.2 kB / 0.6966 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/1.129, allocations: 31.84 kB / 0.6966 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/1.129, allocations: 51.12 kB / 0.6967 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.13, allocations: 0.4913 MB / 0.6972 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.13, allocations: 3.938 kB / 0.6972 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/1.13, allocations: 21.31 kB / 0.6972 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/1.13, allocations: 11.5 kB / 0.6972 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.131, allocations: 0.5707 MB / 0.6978 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/1.135, allocations: 2.135 MB / 0.6998 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.136, allocations: 0.5365 MB / 0.7004 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/1.137, allocations: 261.1 kB / 0.7006 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/1.137, allocations: 0.702 MB / 0.7013 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.137, allocations: 40.89 kB / 0.7013 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=52): time 2.435e-06/1.137, allocations: 2.812 kB / 0.7013 GB, free: 2.703 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009757/1.147, allocations: 2.724 MB / 0.704 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.147, allocations: 65.25 kB / 0.7041 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/1.148, allocations: 318.8 kB / 0.7044 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/1.148, allocations: 38.77 kB / 0.7044 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/1.148, allocations: 191.4 kB / 0.7046 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.148, allocations: 188.8 kB / 0.7048 GB, free: 376 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.149, allocations: 112.7 kB / 0.7049 GB, free: 296 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.149, allocations: 344.3 kB / 0.7052 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/1.149, allocations: 199.7 kB / 0.7054 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.149, allocations: 276.3 kB / 0.7057 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/1.15, allocations: 0.5002 MB / 0.7061 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.15, allocations: 0 / 0.7061 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001108/1.151, allocations: 0.6101 MB / 0.7067 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.151, allocations: 4.906 kB / 0.7067 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.151, allocations: 6.594 kB / 0.7068 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/1.152, allocations: 50.16 kB / 0.7068 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/1.152, allocations: 124.3 kB / 0.7069 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.154, allocations: 2.633 MB / 0.7095 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/1.155, allocations: 37.3 kB / 0.7095 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/1.155, allocations: 23.05 kB / 0.7096 GB, free: 12.24 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 (66): * Single equations (assignments): 64 * 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.0002838/1.155, allocations: 195.7 kB / 0.7097 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.155, allocations: 38.38 kB / 0.7098 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/1.157, allocations: 0.6393 MB / 0.7104 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.157, allocations: 7.531 kB / 0.7104 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.157, allocations: 0 / 0.7104 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008811/1.157, allocations: 0.7134 MB / 0.7111 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.159, allocations: 1.218 MB / 0.7123 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.16, allocations: 2.906 kB / 0.7123 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.161, allocations: 198.1 kB / 0.7125 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.786e-05/1.161, allocations: 5.969 kB / 0.7125 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/1.161, allocations: 17.56 kB / 0.7125 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004175/1.161, allocations: 0.6016 MB / 0.7131 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/1.161, allocations: 3.938 kB / 0.7131 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/1.163, allocations: 0.8661 MB / 0.7139 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/1.163, allocations: 184.5 kB / 0.7141 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.163, allocations: 12 kB / 0.7141 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/1.164, allocations: 35.88 kB / 0.7142 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/1.164, allocations: 32.52 kB / 0.7142 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/1.164, allocations: 31.98 kB / 0.7142 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002932/1.164, allocations: 239 kB / 0.7145 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.164, allocations: 0 / 0.7145 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00133/1.166, allocations: 323.7 kB / 0.7148 GB, free: 7.945 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.U) * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/1.167, allocations: 404 kB / 0.7151 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.168, allocations: 0.707 MB / 0.7158 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.168, allocations: 4 kB / 0.7158 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/1.17, allocations: 353.6 kB / 0.7162 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.171, allocations: 294.5 kB / 0.7165 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/1.174, allocations: 1.299 MB / 0.7177 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/1.175, allocations: 0.8492 MB / 0.7186 GB, free: 4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007118/1.175, allocations: 124.5 kB / 0.7187 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.175, allocations: 55.42 kB / 0.7187 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of SimCode: time 1.123e-06/1.176, allocations: 7.938 kB / 0.7187 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of Templates: time 0.02635/1.202, allocations: 14.6 MB / 0.733 GB, free: 5.312 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)