Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001347/0.001347, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.758 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.664/0.664, allocations: 95.47 MB / 364.8 MB, free: 10.12 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.001359/0.00136, allocations: 67.91 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.388, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.6312/1.019, allocations: 181.8 MB / 0.6792 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005606/1.025, allocations: 4.019 MB / 0.6832 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/1.025, allocations: 2.75 kB / 0.6832 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008495/1.026, allocations: 218.4 kB / 0.6834 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008459/1.027, allocations: 414.3 kB / 0.6838 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/1.034, allocations: 1.903 MB / 0.6856 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002153/1.036, allocations: 1.764 MB / 0.6873 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/1.036, allocations: 124.2 kB / 0.6875 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/1.039, allocations: 1.004 MB / 0.6884 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/1.04, allocations: 452.7 kB / 0.6889 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/1.04, allocations: 29.56 kB / 0.6889 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/1.045, allocations: 2.264 MB / 0.6911 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/1.046, allocations: 212.3 kB / 0.6913 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/1.046, allocations: 296.3 kB / 0.6916 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004565/1.051, allocations: 2.095 MB / 0.6936 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.051, allocations: 0 / 0.6936 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/1.051, allocations: 0 / 0.6936 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.051, allocations: 0 / 0.6936 GB, free: 6.867 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.002343/1.053, allocations: 1.022 MB / 0.6946 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.053, allocations: 17.95 kB / 0.6947 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/1.054, allocations: 52.38 kB / 0.6947 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/1.054, allocations: 368.5 kB / 0.6951 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/1.054, allocations: 32.06 kB / 0.6951 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/1.054, allocations: 41.19 kB / 0.6951 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/1.055, allocations: 0.5046 MB / 0.6956 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.055, allocations: 2.469 kB / 0.6956 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/1.055, allocations: 26.3 kB / 0.6956 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.055, allocations: 9.656 kB / 0.6957 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/1.056, allocations: 0.5926 MB / 0.6962 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/1.06, allocations: 2.159 MB / 0.6983 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.061, allocations: 0.554 MB / 0.6989 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/1.061, allocations: 265.5 kB / 0.6991 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006574/1.062, allocations: 0.696 MB / 0.6998 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.062, allocations: 41.81 kB / 0.6999 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/1.062, allocations: 4 kB / 0.6999 GB, free: 3.055 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=54): time 0.007409/1.069, allocations: 2.78 MB / 0.7026 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/1.069, allocations: 57.03 kB / 0.7026 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/1.07, allocations: 314 kB / 0.7029 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/1.07, allocations: 36.61 kB / 0.703 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.07, allocations: 188.5 kB / 0.7031 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.07, allocations: 193.6 kB / 0.7033 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.07, allocations: 104.8 kB / 0.7034 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.071, allocations: 342.2 kB / 0.7038 GB, free: 232 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/1.071, allocations: 201.8 kB / 0.7039 GB, free: 132 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.071, allocations: 269.5 kB / 0.7042 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/1.072, allocations: 495.6 kB / 0.7047 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.072, allocations: 0 / 0.7047 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/1.073, allocations: 0.6208 MB / 0.7053 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.073, allocations: 5.25 kB / 0.7053 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.073, allocations: 2.5 kB / 0.7053 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/1.073, allocations: 45.77 kB / 0.7053 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/1.074, allocations: 110.5 kB / 0.7054 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.076, allocations: 2.625 MB / 0.708 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/1.077, allocations: 33.23 kB / 0.708 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/1.077, allocations: 24.95 kB / 0.7081 GB, free: 12.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (64): * Single equations (assignments): 62 * 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.0002944/1.077, allocations: 195.2 kB / 0.7082 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.077, allocations: 50.45 kB / 0.7083 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.078, allocations: 0.6828 MB / 0.709 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.078, allocations: 9.062 kB / 0.709 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.078, allocations: 7.875 kB / 0.709 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/1.079, allocations: 0.7715 MB / 0.7097 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.082, allocations: 1.371 MB / 0.7111 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.082, allocations: 0 / 0.7111 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/1.083, allocations: 96.19 kB / 0.7112 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.084, allocations: 347.1 kB / 0.7115 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/1.084, allocations: 13.69 kB / 0.7115 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005868/1.085, allocations: 0.6631 MB / 0.7121 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.085, allocations: 1.781 kB / 0.7121 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.087, allocations: 1.048 MB / 0.7132 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/1.088, allocations: 180.6 kB / 0.7133 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/1.088, allocations: 19.94 kB / 0.7134 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/1.088, allocations: 39.88 kB / 0.7134 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/1.088, allocations: 36.45 kB / 0.7134 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/1.088, allocations: 23.98 kB / 0.7135 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000301/1.089, allocations: 245.9 kB / 0.7137 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.089, allocations: 4 kB / 0.7137 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001079/1.09, allocations: 303.8 kB / 0.714 GB, free: 7.875 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (49): * Single equations (assignments): 48 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007563/1.091, allocations: 388.6 kB / 0.7144 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.092, allocations: 0.7118 MB / 0.7151 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.092, allocations: 0 / 0.7151 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/1.092, allocations: 279.1 kB / 0.7153 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.094, allocations: 291.7 kB / 0.7156 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/1.096, allocations: 1.272 MB / 0.7168 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/1.096, allocations: 0.8412 MB / 0.7177 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005641/1.097, allocations: 128.3 kB / 0.7178 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.097, allocations: 47.53 kB / 0.7178 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/1.097, allocations: 7.875 kB / 0.7178 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of Templates: time 0.0235/1.121, allocations: 14.88 MB / 0.7324 GB, free: 5.109 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1)