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.001739/0.001739, allocations: 109.4 kB / 15.69 MB, free: 128 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.002398/0.002398, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.6627/0.6627, allocations: 95.46 MB / 365.3 MB, free: 9.809 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.001852/0.001852, allocations: 71.89 kB / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4224, allocations: 69.08 MB / 0.5031 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6165/1.039, allocations: 182.4 MB / 0.6812 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004009/1.043, allocations: 3.182 MB / 0.6844 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/1.043, allocations: 4.906 kB / 0.6844 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009523/1.044, allocations: 250.7 kB / 0.6846 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/1.045, allocations: 417.6 kB / 0.685 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/1.05, allocations: 1.296 MB / 0.6863 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002298/1.052, allocations: 1.162 MB / 0.6874 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/1.053, allocations: 157.5 kB / 0.6875 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/1.055, allocations: 0.8923 MB / 0.6884 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/1.056, allocations: 430.6 kB / 0.6888 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/1.056, allocations: 58.19 kB / 0.6889 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/1.059, allocations: 1.286 MB / 0.6901 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/1.06, allocations: 235.5 kB / 0.6904 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/1.06, allocations: 323.9 kB / 0.6907 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/1.063, allocations: 1.53 MB / 0.6922 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.063, allocations: 3.688 kB / 0.6922 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/1.063, allocations: 0 / 0.6922 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.823e-05/1.063, allocations: 0 / 0.6922 GB, free: 9.059 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.002019/1.066, allocations: 0.8965 MB / 0.693 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.066, allocations: 14.02 kB / 0.6931 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/1.066, allocations: 63.88 kB / 0.6931 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/1.067, allocations: 361.8 kB / 0.6935 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/1.067, allocations: 32 kB / 0.6935 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/1.067, allocations: 41.12 kB / 0.6935 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/1.068, allocations: 494.8 kB / 0.694 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.068, allocations: 2.688 kB / 0.694 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/1.068, allocations: 17.94 kB / 0.694 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.068, allocations: 14.62 kB / 0.694 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/1.068, allocations: 0.5512 MB / 0.6946 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/1.072, allocations: 2.124 MB / 0.6967 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/1.072, allocations: 410.6 kB / 0.697 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/1.073, allocations: 215.2 kB / 0.6973 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/1.073, allocations: 0.6931 MB / 0.6979 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.074, allocations: 37.59 kB / 0.698 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/1.074, allocations: 0 / 0.698 GB, free: 5.395 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.004573/1.078, allocations: 2.195 MB / 0.7001 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.078, allocations: 60.69 kB / 0.7002 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/1.079, allocations: 335.3 kB / 0.7005 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/1.079, allocations: 38.23 kB / 0.7005 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/1.079, allocations: 201.8 kB / 0.7007 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.079, allocations: 154.7 kB / 0.7009 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.079, allocations: 99.52 kB / 0.701 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.08, allocations: 348.6 kB / 0.7013 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/1.08, allocations: 177.3 kB / 0.7015 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/1.081, allocations: 253.7 kB / 0.7017 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/1.081, allocations: 459.9 kB / 0.7021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.081, allocations: 1.812 kB / 0.7021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001036/1.082, allocations: 0.5613 MB / 0.7027 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.082, allocations: 7.438 kB / 0.7027 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.082, allocations: 0 / 0.7027 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/1.083, allocations: 49.66 kB / 0.7027 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/1.083, allocations: 98.11 kB / 0.7028 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.085, allocations: 2.84 MB / 0.7056 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/1.086, allocations: 11.03 kB / 0.7056 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/1.086, allocations: 23.05 kB / 0.7056 GB, free: 15.73 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.0003156/1.086, allocations: 187.4 kB / 0.7058 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.086, allocations: 36.09 kB / 0.7059 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.088, allocations: 0.5785 MB / 0.7064 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.088, allocations: 8.812 kB / 0.7064 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.088, allocations: 4 kB / 0.7064 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/1.089, allocations: 0.6733 MB / 0.7071 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.091, allocations: 1.144 MB / 0.7082 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.091, allocations: 2.469 kB / 0.7082 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/1.091, allocations: 90.3 kB / 0.7083 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/1.092, allocations: 82.48 kB / 0.7084 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/1.092, allocations: 16.7 kB / 0.7084 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006167/1.093, allocations: 0.5618 MB / 0.7089 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.093, allocations: 2.812 kB / 0.7089 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.094, allocations: 0.8143 MB / 0.7097 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/1.094, allocations: 172.8 kB / 0.7099 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/1.094, allocations: 13.88 kB / 0.7099 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/1.095, allocations: 26.75 kB / 0.7099 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/1.095, allocations: 31.86 kB / 0.71 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/1.095, allocations: 27.05 kB / 0.71 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002616/1.095, allocations: 250.7 kB / 0.7102 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.095, allocations: 0 / 0.7102 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008854/1.096, allocations: 275.4 kB / 0.7105 GB, free: 12.27 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.000859/1.097, allocations: 331.4 kB / 0.7108 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.098, allocations: 0.6703 MB / 0.7115 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.098, allocations: 0 / 0.7115 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/1.098, allocations: 239.5 kB / 0.7117 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.1, allocations: 291.8 kB / 0.712 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.102, allocations: 1.065 MB / 0.713 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.102, allocations: 0.8411 MB / 0.7138 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004111/1.102, allocations: 120.1 kB / 0.714 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/1.103, allocations: 54.45 kB / 0.714 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/1.103, allocations: 2.406 kB / 0.714 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of Templates: time 0.02533/1.128, allocations: 13.72 MB / 0.7274 GB, free: 12.55 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)