Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 108 kB / 15.61 MB, free: 152 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.001839/0.001839, allocations: 196 kB / 16.53 MB, free: 6.664 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.615/1.615, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.6332/0.6332, allocations: 95.48 MB / 365.2 MB, free: 9.891 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.00156/0.00156, allocations: 67.91 kB / 445.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4021, allocations: 69.07 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6285/1.031, allocations: 182.4 MB / 0.6805 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005157/1.036, allocations: 3.178 MB / 0.6836 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/1.036, allocations: 4.312 kB / 0.6836 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009889/1.037, allocations: 251 kB / 0.6839 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/1.039, allocations: 417.7 kB / 0.6843 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/1.042, allocations: 1.299 MB / 0.6855 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001449/1.044, allocations: 1.165 MB / 0.6867 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/1.044, allocations: 149.4 kB / 0.6868 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/1.046, allocations: 0.8913 MB / 0.6877 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/1.047, allocations: 426.8 kB / 0.6881 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/1.047, allocations: 59.47 kB / 0.6881 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/1.049, allocations: 1.297 MB / 0.6894 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/1.05, allocations: 237.6 kB / 0.6896 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/1.05, allocations: 312.9 kB / 0.6899 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/1.052, allocations: 1.53 MB / 0.6914 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.052, allocations: 0 / 0.6914 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/1.052, allocations: 0 / 0.6914 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.052, allocations: 2.562 kB / 0.6914 GB, free: 9.082 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.001729/1.054, allocations: 0.8973 MB / 0.6923 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.054, allocations: 11.61 kB / 0.6923 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/1.055, allocations: 62.48 kB / 0.6924 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/1.055, allocations: 355.3 kB / 0.6927 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.055, allocations: 29.47 kB / 0.6927 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/1.055, allocations: 47.34 kB / 0.6928 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/1.056, allocations: 494.2 kB / 0.6933 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.056, allocations: 6.562 kB / 0.6933 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/1.056, allocations: 17.84 kB / 0.6933 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.056, allocations: 10.84 kB / 0.6933 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/1.057, allocations: 0.5545 MB / 0.6938 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/1.06, allocations: 2.131 MB / 0.6959 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/1.061, allocations: 403.8 kB / 0.6963 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/1.061, allocations: 214.9 kB / 0.6965 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/1.062, allocations: 0.6913 MB / 0.6972 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.062, allocations: 39.91 kB / 0.6972 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.694e-06/1.062, allocations: 0 / 0.6972 GB, free: 5.422 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 2: volume.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.004262/1.066, allocations: 2.19 MB / 0.6994 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.066, allocations: 56.78 kB / 0.6994 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/1.066, allocations: 335.7 kB / 0.6997 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/1.066, allocations: 39.36 kB / 0.6998 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.067, allocations: 202.9 kB / 0.7 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.067, allocations: 159.2 kB / 0.7001 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/1.067, allocations: 98.02 kB / 0.7002 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.067, allocations: 350.6 kB / 0.7005 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/1.067, allocations: 177.1 kB / 0.7007 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/1.068, allocations: 253.3 kB / 0.7009 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/1.068, allocations: 459.5 kB / 0.7014 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.068, allocations: 0 / 0.7014 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009349/1.069, allocations: 0.5632 MB / 0.7019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.069, allocations: 5.875 kB / 0.7019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.069, allocations: 2.375 kB / 0.7019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/1.069, allocations: 50.09 kB / 0.702 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/1.07, allocations: 99.36 kB / 0.7021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.072, allocations: 2.841 MB / 0.7049 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/1.073, allocations: 10.69 kB / 0.7049 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/1.073, allocations: 20.2 kB / 0.7049 GB, free: 15.85 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (58): * 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: 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.0002527/1.073, allocations: 191.5 kB / 0.7051 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/1.073, allocations: 38 kB / 0.7051 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/1.074, allocations: 0.5764 MB / 0.7057 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.074, allocations: 4.875 kB / 0.7057 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.074, allocations: 0 / 0.7057 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008094/1.075, allocations: 0.6758 MB / 0.7063 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/1.077, allocations: 1.149 MB / 0.7075 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.077, allocations: 0 / 0.7075 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/1.077, allocations: 86.3 kB / 0.7075 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/1.078, allocations: 89.72 kB / 0.7076 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/1.078, allocations: 20.69 kB / 0.7076 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004463/1.078, allocations: 0.558 MB / 0.7082 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.078, allocations: 7.938 kB / 0.7082 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.079, allocations: 0.8131 MB / 0.709 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/1.079, allocations: 174.5 kB / 0.7092 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/1.08, allocations: 13.28 kB / 0.7092 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/1.08, allocations: 22.11 kB / 0.7092 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/1.08, allocations: 32.55 kB / 0.7092 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/1.08, allocations: 23.42 kB / 0.7092 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002918/1.08, allocations: 254.5 kB / 0.7095 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 2.906 kB / 0.7095 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000986/1.081, allocations: 275.2 kB / 0.7098 GB, free: 12.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (volume.medium.Xi[1],volume.U,volume.m) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/1.082, allocations: 325.7 kB / 0.7101 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001201/1.083, allocations: 0.7039 MB / 0.7108 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.083, allocations: 4.125 kB / 0.7108 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/1.084, allocations: 241.7 kB / 0.711 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.085, allocations: 287.5 kB / 0.7113 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/1.087, allocations: 1.078 MB / 0.7123 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/1.088, allocations: 0.8433 MB / 0.7131 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005259/1.088, allocations: 127.3 kB / 0.7133 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/1.089, allocations: 50.7 kB / 0.7133 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/1.089, allocations: 0 / 0.7133 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.0249/1.114, allocations: 13.72 MB / 0.7267 GB, free: 12.56 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe 2>&1)