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.001213/0.001213, 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.001236/0.001236, allocations: 194.5 kB / 16.14 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.957 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.6002/0.6002, allocations: 95.48 MB / 364.8 MB, free: 10.19 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.001677/0.001677, allocations: 67.91 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4236, allocations: 69.07 MB / 0.5017 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6082/1.032, allocations: 180.4 MB / 0.6779 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003669/1.036, allocations: 3.189 MB / 0.681 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/1.036, allocations: 2.719 kB / 0.681 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007525/1.037, allocations: 220.3 kB / 0.6812 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006862/1.037, allocations: 416.4 kB / 0.6816 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/1.041, allocations: 1.189 MB / 0.6828 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001731/1.042, allocations: 1.714 MB / 0.6845 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/1.043, allocations: 125.9 kB / 0.6846 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/1.045, allocations: 0.81 MB / 0.6854 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/1.046, allocations: 438.9 kB / 0.6858 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/1.046, allocations: 30.03 kB / 0.6858 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/1.049, allocations: 1.454 MB / 0.6872 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/1.049, allocations: 200.2 kB / 0.6874 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/1.049, allocations: 284.3 kB / 0.6877 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/1.052, allocations: 1.569 MB / 0.6892 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.052, allocations: 0 / 0.6892 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/1.052, allocations: 0 / 0.6892 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.752e-06/1.052, allocations: 0 / 0.6892 GB, free: 8.238 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.00175/1.054, allocations: 0.9032 MB / 0.6901 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.054, allocations: 13.33 kB / 0.6901 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/1.054, allocations: 62.72 kB / 0.6902 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/1.055, allocations: 354.4 kB / 0.6905 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/1.055, allocations: 32.92 kB / 0.6906 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/1.055, allocations: 41.25 kB / 0.6906 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/1.056, allocations: 498.2 kB / 0.6911 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.056, allocations: 0 / 0.6911 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/1.056, allocations: 19.34 kB / 0.6911 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.056, allocations: 9.469 kB / 0.6911 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/1.057, allocations: 0.5516 MB / 0.6916 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/1.06, allocations: 2.114 MB / 0.6937 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/1.06, allocations: 412.2 kB / 0.6941 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/1.061, allocations: 219.9 kB / 0.6943 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/1.061, allocations: 0.6842 MB / 0.695 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.061, allocations: 46.83 kB / 0.695 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.903e-06/1.061, allocations: 0 / 0.695 GB, free: 4.586 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.004182/1.065, allocations: 2.186 MB / 0.6972 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.066, allocations: 60.12 kB / 0.6972 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/1.066, allocations: 337.6 kB / 0.6975 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/1.066, allocations: 35.2 kB / 0.6976 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.066, allocations: 195.8 kB / 0.6978 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.066, allocations: 164.3 kB / 0.6979 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.066, allocations: 93.88 kB / 0.698 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.066, allocations: 350.8 kB / 0.6983 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/1.067, allocations: 180.9 kB / 0.6985 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/1.067, allocations: 253.1 kB / 0.6987 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/1.068, allocations: 456.2 kB / 0.6992 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.068, allocations: 0 / 0.6992 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001475/1.07, allocations: 0.5693 MB / 0.6997 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/1.07, allocations: 4.906 kB / 0.6997 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.07, allocations: 2.25 kB / 0.6997 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/1.07, allocations: 50.36 kB / 0.6998 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/1.071, allocations: 99.69 kB / 0.6999 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/1.074, allocations: 2.632 MB / 0.7025 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/1.074, allocations: 30.86 kB / 0.7025 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/1.075, allocations: 22.8 kB / 0.7025 GB, free: 15.48 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.0003823/1.075, allocations: 186.1 kB / 0.7027 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.075, allocations: 49.84 kB / 0.7027 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/1.077, allocations: 0.5772 MB / 0.7033 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.077, allocations: 4.562 kB / 0.7033 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.077, allocations: 2.562 kB / 0.7033 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/1.078, allocations: 0.6651 MB / 0.704 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/1.081, allocations: 1.15 MB / 0.7051 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.081, allocations: 6.797 kB / 0.7051 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/1.081, allocations: 90.42 kB / 0.7052 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/1.082, allocations: 82.05 kB / 0.7053 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/1.082, allocations: 16.8 kB / 0.7053 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/1.083, allocations: 0.566 MB / 0.7058 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.083, allocations: 0 / 0.7058 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/1.085, allocations: 0.8166 MB / 0.7066 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/1.085, allocations: 172.5 kB / 0.7068 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.085, allocations: 11.19 kB / 0.7068 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/1.086, allocations: 41.12 kB / 0.7068 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/1.086, allocations: 31.2 kB / 0.7069 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/1.086, allocations: 20.64 kB / 0.7069 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004113/1.086, allocations: 250.2 kB / 0.7071 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/1.086, allocations: 0 / 0.7071 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001376/1.088, allocations: 288.5 kB / 0.7074 GB, free: 12 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.0009318/1.089, allocations: 330.1 kB / 0.7077 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001458/1.09, allocations: 0.6577 MB / 0.7084 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.09, allocations: 0 / 0.7084 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/1.091, allocations: 240.8 kB / 0.7086 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.093, allocations: 270.3 kB / 0.7088 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/1.096, allocations: 1.248 MB / 0.7101 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/1.097, allocations: 0.8408 MB / 0.7109 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008359/1.098, allocations: 121 kB / 0.711 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.098, allocations: 52.8 kB / 0.711 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/1.098, allocations: 0 / 0.711 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of Templates: time 0.03063/1.128, allocations: 13.21 MB / 0.7239 GB, free: 13.11 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)