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.001832/0.001832, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 195.5 kB / 16.53 MB, free: 6.695 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.744/1.744, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.628/0.628, allocations: 95.48 MB / 365.2 MB, free: 9.918 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.001552/0.001552, allocations: 67.91 kB / 445.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 69.07 MB / 0.5024 GB, free: 17.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.6774/1.063, allocations: 181.9 MB / 0.68 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004117/1.067, allocations: 3.123 MB / 0.6831 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/1.067, allocations: 6.688 kB / 0.6831 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009296/1.068, allocations: 254.4 kB / 0.6833 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009113/1.069, allocations: 411.1 kB / 0.6837 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/1.073, allocations: 1.301 MB / 0.685 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001366/1.075, allocations: 1.17 MB / 0.6861 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/1.075, allocations: 145.7 kB / 0.6863 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/1.077, allocations: 0.8842 MB / 0.6871 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/1.078, allocations: 419.7 kB / 0.6875 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/1.078, allocations: 60.09 kB / 0.6876 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/1.081, allocations: 1.278 MB / 0.6888 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/1.081, allocations: 236 kB / 0.6891 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/1.082, allocations: 311.9 kB / 0.6894 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/1.084, allocations: 1.485 MB / 0.6908 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/1.084, allocations: 0 / 0.6908 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/1.084, allocations: 3.938 kB / 0.6908 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.084, allocations: 2.906 kB / 0.6908 GB, free: 9.246 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.001904/1.086, allocations: 0.8895 MB / 0.6917 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.086, allocations: 13.95 kB / 0.6917 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/1.087, allocations: 63.83 kB / 0.6918 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/1.087, allocations: 357.7 kB / 0.6921 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/1.087, allocations: 32.72 kB / 0.6921 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/1.087, allocations: 41.12 kB / 0.6922 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/1.088, allocations: 492.8 kB / 0.6927 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/1.088, allocations: 2.688 kB / 0.6927 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/1.088, allocations: 18.44 kB / 0.6927 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/1.088, allocations: 9.719 kB / 0.6927 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/1.089, allocations: 0.5473 MB / 0.6932 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/1.093, allocations: 2.191 MB / 0.6954 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/1.093, allocations: 409.4 kB / 0.6957 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/1.094, allocations: 227.5 kB / 0.696 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008581/1.094, allocations: 0.8739 MB / 0.6968 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.094, allocations: 50.58 kB / 0.6969 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.255e-06/1.094, allocations: 0 / 0.6969 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.004466/1.099, allocations: 1.872 MB / 0.6987 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.099, allocations: 63.09 kB / 0.6988 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/1.099, allocations: 319.4 kB / 0.6991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/1.099, allocations: 39.98 kB / 0.6991 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.1, allocations: 200.5 kB / 0.6993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.1, allocations: 186 kB / 0.6995 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.1, allocations: 92.97 kB / 0.6996 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.1, allocations: 350.8 kB / 0.6999 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.1, allocations: 192.4 kB / 0.7001 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/1.101, allocations: 277.2 kB / 0.7003 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/1.101, allocations: 495.3 kB / 0.7008 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.101, allocations: 4 kB / 0.7008 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009584/1.102, allocations: 0.6026 MB / 0.7014 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.102, allocations: 9.031 kB / 0.7014 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.102, allocations: 2.719 kB / 0.7014 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/1.103, allocations: 45.39 kB / 0.7015 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/1.103, allocations: 130.5 kB / 0.7016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.106, allocations: 2.83 MB / 0.7043 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/1.106, allocations: 16.5 kB / 0.7044 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.106, allocations: 27.55 kB / 0.7044 GB, free: 44 kB / 0.4981 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.0003442/1.106, allocations: 189.1 kB / 0.7046 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.107, allocations: 42.09 kB / 0.7046 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.108, allocations: 0.6128 MB / 0.7052 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.108, allocations: 7.594 kB / 0.7052 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/1.108, allocations: 0 / 0.7052 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008536/1.109, allocations: 0.7024 MB / 0.7059 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/1.111, allocations: 1.249 MB / 0.7071 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.111, allocations: 3.938 kB / 0.7071 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/1.111, allocations: 123.6 kB / 0.7072 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.111, allocations: 8.641 kB / 0.7072 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/1.111, allocations: 13.03 kB / 0.7073 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.111, allocations: 6.625 kB / 0.7073 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.111, allocations: 6.594 kB / 0.7073 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.112, allocations: 0.8471 MB / 0.7081 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/1.113, allocations: 177.2 kB / 0.7083 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/1.113, allocations: 17.34 kB / 0.7083 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/1.113, allocations: 18.86 kB / 0.7083 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.113, allocations: 34.7 kB / 0.7083 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/1.113, allocations: 26.67 kB / 0.7084 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002683/1.114, allocations: 250.9 kB / 0.7086 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.114, allocations: 0 / 0.7086 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001064/1.115, allocations: 275.3 kB / 0.7089 GB, free: 13.07 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.0008439/1.116, allocations: 334.2 kB / 0.7092 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.117, allocations: 0.7548 MB / 0.7099 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.117, allocations: 2.438 kB / 0.7099 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/1.117, allocations: 248.4 kB / 0.7102 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.119, allocations: 292.7 kB / 0.7104 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/1.121, allocations: 1.155 MB / 0.7116 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/1.121, allocations: 0.8421 MB / 0.7124 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005561/1.122, allocations: 129 kB / 0.7125 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.122, allocations: 56.84 kB / 0.7126 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/1.122, allocations: 0 / 0.7126 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.02284/1.145, allocations: 13.85 MB / 0.7261 GB, free: 12.98 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)