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.0007464/0.0007463, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005182/0.005182, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.731/1.731, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.6189/0.6189, allocations: 95.61 MB / 366.4 MB, free: 10.23 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.0005934/0.0005935, allocations: 24 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4547, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6069/1.062, allocations: 178 MB / 0.6795 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00366/1.065, allocations: 3.157 MB / 0.6826 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/1.066, allocations: 6.844 kB / 0.6826 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/1.066, allocations: 215.6 kB / 0.6828 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007829/1.067, allocations: 398.4 kB / 0.6832 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/1.071, allocations: 1.207 MB / 0.6843 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001623/1.072, allocations: 1.712 MB / 0.686 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/1.073, allocations: 114.9 kB / 0.6861 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/1.074, allocations: 0.797 MB / 0.6869 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/1.075, allocations: 432.6 kB / 0.6873 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/1.075, allocations: 24.81 kB / 0.6873 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/1.078, allocations: 1.443 MB / 0.6888 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/1.078, allocations: 203.2 kB / 0.6889 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/1.078, allocations: 304.6 kB / 0.6892 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/1.08, allocations: 1.551 MB / 0.6908 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.08, allocations: 2.031 kB / 0.6908 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.776e-06/1.08, allocations: 0 / 0.6908 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.08, allocations: 0 / 0.6908 GB, free: 7.914 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.001554/1.082, allocations: 0.8006 MB / 0.6915 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.082, allocations: 11.89 kB / 0.6915 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/1.082, allocations: 60.8 kB / 0.6916 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/1.083, allocations: 352.9 kB / 0.6919 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/1.083, allocations: 28.38 kB / 0.692 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/1.083, allocations: 46.05 kB / 0.692 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/1.083, allocations: 0.4956 MB / 0.6925 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.083, allocations: 0 / 0.6925 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/1.084, allocations: 15.44 kB / 0.6925 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.084, allocations: 10.58 kB / 0.6925 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/1.084, allocations: 0.5459 MB / 0.6931 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/1.087, allocations: 2.122 MB / 0.6951 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/1.088, allocations: 401.8 kB / 0.6955 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/1.088, allocations: 224.8 kB / 0.6957 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/1.089, allocations: 0.6905 MB / 0.6964 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/1.089, allocations: 41.03 kB / 0.6964 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/1.089, allocations: 5.688 kB / 0.6964 GB, free: 4.277 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.00393/1.093, allocations: 2.209 MB / 0.6986 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.093, allocations: 57.22 kB / 0.6987 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/1.093, allocations: 328.2 kB / 0.699 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/1.093, allocations: 35.8 kB / 0.699 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/1.093, allocations: 207.2 kB / 0.6992 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.093, allocations: 151 kB / 0.6993 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/1.094, allocations: 51.44 kB / 0.6994 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.094, allocations: 352.2 kB / 0.6997 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/1.094, allocations: 181 kB / 0.6999 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/1.094, allocations: 252.4 kB / 0.7001 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/1.095, allocations: 462 kB / 0.7006 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.095, allocations: 0 / 0.7006 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008171/1.096, allocations: 0.5645 MB / 0.7011 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.096, allocations: 5.562 kB / 0.7011 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.096, allocations: 2.625 kB / 0.7011 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/1.096, allocations: 52.34 kB / 0.7012 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/1.096, allocations: 98.45 kB / 0.7013 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/1.098, allocations: 2.627 MB / 0.7039 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/1.099, allocations: 40.03 kB / 0.7039 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/1.099, allocations: 17.47 kB / 0.7039 GB, free: 15.36 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.0002698/1.099, allocations: 193.3 kB / 0.7041 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/1.099, allocations: 45.72 kB / 0.7041 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.1, allocations: 0.5673 MB / 0.7047 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.1, allocations: 5.156 kB / 0.7047 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/1.1, allocations: 1.859 kB / 0.7047 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008175/1.101, allocations: 0.672 MB / 0.7054 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/1.103, allocations: 1.15 MB / 0.7065 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.103, allocations: 5.688 kB / 0.7065 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/1.103, allocations: 92.67 kB / 0.7066 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/1.104, allocations: 85.52 kB / 0.7067 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/1.104, allocations: 13.34 kB / 0.7067 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000356/1.104, allocations: 0.5655 MB / 0.7072 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.104, allocations: 2.875 kB / 0.7072 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.105, allocations: 0.8135 MB / 0.708 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/1.105, allocations: 181.3 kB / 0.7082 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/1.105, allocations: 11.28 kB / 0.7082 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/1.106, allocations: 35.94 kB / 0.7082 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/1.106, allocations: 33.14 kB / 0.7083 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.106, allocations: 25.7 kB / 0.7083 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002532/1.106, allocations: 250.8 kB / 0.7085 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.106, allocations: 0 / 0.7085 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008602/1.107, allocations: 286.4 kB / 0.7088 GB, free: 12.76 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.0006323/1.108, allocations: 313.3 kB / 0.7091 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009361/1.109, allocations: 0.6651 MB / 0.7097 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.109, allocations: 0 / 0.7097 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/1.109, allocations: 240.8 kB / 0.71 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.111, allocations: 282.8 kB / 0.7102 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.113, allocations: 1.34 MB / 0.7116 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/1.113, allocations: 0.838 MB / 0.7124 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005209/1.114, allocations: 116.7 kB / 0.7125 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.114, allocations: 48.08 kB / 0.7125 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/1.114, allocations: 6.938 kB / 0.7125 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.02166/1.136, allocations: 13.12 MB / 0.7254 GB, free: 15.59 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: