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.001145/0.001146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001089/0.001089, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.622/1.622, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.588/0.588, allocations: 95.47 MB / 364.9 MB, free: 10.05 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.001463/0.001463, allocations: 67.91 kB / 444.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3761, allocations: 69.06 MB / 0.5019 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.6682/1.044, allocations: 182.4 MB / 0.68 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005358/1.05, allocations: 4.33 MB / 0.6842 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/1.05, allocations: 2.781 kB / 0.6842 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009878/1.051, allocations: 227.2 kB / 0.6845 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009734/1.052, allocations: 398.2 kB / 0.6848 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007371/1.06, allocations: 1.946 MB / 0.6867 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001971/1.062, allocations: 1.198 MB / 0.6879 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/1.062, allocations: 147.8 kB / 0.688 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/1.065, allocations: 1.033 MB / 0.689 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/1.066, allocations: 464.1 kB / 0.6895 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.766e-05/1.066, allocations: 60.75 kB / 0.6896 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005982/1.072, allocations: 2.132 MB / 0.6916 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/1.073, allocations: 241.2 kB / 0.6919 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004948/1.073, allocations: 325.9 kB / 0.6922 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/1.078, allocations: 2.156 MB / 0.6943 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.078, allocations: 0 / 0.6943 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.078, allocations: 0 / 0.6943 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.078, allocations: 0 / 0.6943 GB, free: 7.223 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.002108/1.08, allocations: 1.026 MB / 0.6953 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.08, allocations: 17.48 kB / 0.6953 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/1.081, allocations: 58.8 kB / 0.6954 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/1.081, allocations: 356.9 kB / 0.6957 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/1.081, allocations: 40.25 kB / 0.6957 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/1.081, allocations: 41.03 kB / 0.6958 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/1.082, allocations: 0.4945 MB / 0.6963 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.082, allocations: 0 / 0.6963 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/1.082, allocations: 18.47 kB / 0.6963 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/1.082, allocations: 10.38 kB / 0.6963 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008956/1.083, allocations: 0.5721 MB / 0.6968 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/1.086, allocations: 2.133 MB / 0.6989 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.088, allocations: 0.548 MB / 0.6995 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/1.088, allocations: 250.5 kB / 0.6997 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/1.089, allocations: 0.7007 MB / 0.7004 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.089, allocations: 43.09 kB / 0.7004 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/1.089, allocations: 0 / 0.7004 GB, free: 3.289 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.008063/1.097, allocations: 2.736 MB / 0.7031 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.097, allocations: 60.75 kB / 0.7032 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/1.097, allocations: 317.3 kB / 0.7035 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/1.097, allocations: 35.8 kB / 0.7035 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/1.097, allocations: 197.7 kB / 0.7037 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.098, allocations: 193.9 kB / 0.7039 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.098, allocations: 104.8 kB / 0.704 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.098, allocations: 346.3 kB / 0.7043 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/1.098, allocations: 197.1 kB / 0.7045 GB, free: 452 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/1.099, allocations: 272.2 kB / 0.7047 GB, free: 272 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/1.099, allocations: 0.4949 MB / 0.7052 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.099, allocations: 5.953 kB / 0.7052 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009533/1.1, allocations: 0.6138 MB / 0.7058 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.1, allocations: 7.5 kB / 0.7058 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.1, allocations: 2 kB / 0.7058 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/1.101, allocations: 46.23 kB / 0.7059 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/1.101, allocations: 128.8 kB / 0.706 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.103, allocations: 2.84 MB / 0.7088 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/1.104, allocations: 42.88 kB / 0.7088 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/1.104, allocations: 21.41 kB / 0.7088 GB, free: 12.61 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.0002868/1.104, allocations: 192.2 kB / 0.709 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.104, allocations: 40.06 kB / 0.7091 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.105, allocations: 0.6384 MB / 0.7097 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.105, allocations: 12.64 kB / 0.7097 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.105, allocations: 0 / 0.7097 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008392/1.106, allocations: 0.7139 MB / 0.7104 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/1.108, allocations: 1.213 MB / 0.7116 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.108, allocations: 2.094 kB / 0.7116 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.109, allocations: 205.5 kB / 0.7118 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.109, allocations: 2.688 kB / 0.7118 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/1.109, allocations: 10.69 kB / 0.7118 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002982/1.109, allocations: 0.5933 MB / 0.7124 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.109, allocations: 0 / 0.7124 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/1.111, allocations: 0.8769 MB / 0.7132 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/1.111, allocations: 177.6 kB / 0.7134 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/1.111, allocations: 17.27 kB / 0.7134 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/1.112, allocations: 34.95 kB / 0.7134 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/1.112, allocations: 41.42 kB / 0.7135 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/1.112, allocations: 28.38 kB / 0.7135 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002496/1.112, allocations: 243 kB / 0.7137 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.112, allocations: 0 / 0.7137 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001007/1.113, allocations: 319.7 kB / 0.714 GB, free: 8.656 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.0007679/1.114, allocations: 400.8 kB / 0.7144 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.115, allocations: 0.7698 MB / 0.7152 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.115, allocations: 0 / 0.7152 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.116, allocations: 354.9 kB / 0.7155 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.118, allocations: 297.2 kB / 0.7158 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/1.12, allocations: 1.301 MB / 0.7171 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.12, allocations: 0.8452 MB / 0.7179 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005761/1.121, allocations: 128.3 kB / 0.718 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.121, allocations: 51.42 kB / 0.7181 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/1.121, allocations: 3.938 kB / 0.7181 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of Templates: time 0.0221/1.143, allocations: 15.08 MB / 0.7328 GB, free: 5.496 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)