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.0008871/0.0008873, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.006712/0.006712, allocations: 180.8 kB / 16.26 MB, free: 6.605 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.704/1.704, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6396/0.6396, allocations: 95.63 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.0005771/0.0005776, allocations: 16 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.399, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.6297/1.029, allocations: 179.3 MB / 0.6808 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005358/1.034, allocations: 3.965 MB / 0.6846 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/1.035, allocations: 6.156 kB / 0.6846 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009598/1.036, allocations: 212.4 kB / 0.6849 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/1.037, allocations: 409.5 kB / 0.6852 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/1.043, allocations: 1.904 MB / 0.6871 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002145/1.045, allocations: 1.756 MB / 0.6888 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/1.045, allocations: 128.7 kB / 0.6889 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/1.048, allocations: 0.9957 MB / 0.6899 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/1.049, allocations: 445.5 kB / 0.6903 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/1.049, allocations: 24.69 kB / 0.6904 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/1.053, allocations: 2.259 MB / 0.6926 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/1.054, allocations: 205.2 kB / 0.6928 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/1.054, allocations: 313.2 kB / 0.6931 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/1.058, allocations: 2.086 MB / 0.6951 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.058, allocations: 0 / 0.6951 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.058, allocations: 0 / 0.6951 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.058, allocations: 0 / 0.6951 GB, free: 6.629 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.001907/1.06, allocations: 0.9054 MB / 0.696 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.06, allocations: 12.92 kB / 0.696 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/1.06, allocations: 62.66 kB / 0.6961 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/1.061, allocations: 359.5 kB / 0.6964 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/1.061, allocations: 32.22 kB / 0.6964 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/1.061, allocations: 50.11 kB / 0.6965 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/1.062, allocations: 0.5021 MB / 0.697 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.062, allocations: 2.938 kB / 0.697 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/1.062, allocations: 17.34 kB / 0.697 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.062, allocations: 10.81 kB / 0.697 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/1.063, allocations: 0.5955 MB / 0.6976 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/1.066, allocations: 2.166 MB / 0.6997 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.067, allocations: 0.577 MB / 0.7003 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/1.068, allocations: 262.8 kB / 0.7005 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/1.068, allocations: 0.6913 MB / 0.7012 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.068, allocations: 37 kB / 0.7012 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/1.068, allocations: 1.969 kB / 0.7012 GB, free: 2.879 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.007183/1.076, allocations: 2.853 MB / 0.704 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.076, allocations: 57.81 kB / 0.7041 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/1.076, allocations: 312.9 kB / 0.7044 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/1.076, allocations: 35.58 kB / 0.7044 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.076, allocations: 188.6 kB / 0.7046 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.076, allocations: 187.9 kB / 0.7048 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/1.077, allocations: 52.5 kB / 0.7048 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.077, allocations: 345.5 kB / 0.7051 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/1.077, allocations: 204.8 kB / 0.7053 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/1.077, allocations: 266.3 kB / 0.7056 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/1.078, allocations: 497.3 kB / 0.7061 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.078, allocations: 0 / 0.7061 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009407/1.079, allocations: 0.6144 MB / 0.7067 GB, free: 212 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.079, allocations: 7.688 kB / 0.7067 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.079, allocations: 1.859 kB / 0.7067 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/1.079, allocations: 51.52 kB / 0.7067 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/1.08, allocations: 110.4 kB / 0.7068 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.082, allocations: 2.631 MB / 0.7094 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.082, allocations: 33.95 kB / 0.7094 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/1.082, allocations: 29.02 kB / 0.7094 GB, free: 13.39 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.0002625/1.083, allocations: 189.1 kB / 0.7096 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/1.083, allocations: 37.5 kB / 0.7097 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/1.084, allocations: 0.6957 MB / 0.7103 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.084, allocations: 5.719 kB / 0.7103 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.084, allocations: 11.12 kB / 0.7104 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009395/1.085, allocations: 0.7605 MB / 0.7111 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/1.088, allocations: 1.404 MB / 0.7125 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.088, allocations: 0 / 0.7125 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/1.088, allocations: 91.08 kB / 0.7126 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/1.09, allocations: 368.8 kB / 0.7129 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/1.09, allocations: 13.12 kB / 0.7129 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/1.091, allocations: 0.6694 MB / 0.7136 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.091, allocations: 0 / 0.7136 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/1.093, allocations: 1.057 MB / 0.7146 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/1.093, allocations: 192.1 kB / 0.7148 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/1.093, allocations: 13.14 kB / 0.7148 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/1.094, allocations: 41.23 kB / 0.7148 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/1.094, allocations: 36.45 kB / 0.7149 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/1.094, allocations: 33.06 kB / 0.7149 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002678/1.094, allocations: 236 kB / 0.7151 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 0 / 0.7151 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009585/1.095, allocations: 299.4 kB / 0.7154 GB, free: 9.434 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.000689/1.096, allocations: 378.4 kB / 0.7158 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.097, allocations: 0.7208 MB / 0.7165 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.097, allocations: 0 / 0.7165 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/1.097, allocations: 276.5 kB / 0.7168 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.099, allocations: 299.6 kB / 0.717 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/1.101, allocations: 1.366 MB / 0.7184 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/1.101, allocations: 0.8468 MB / 0.7192 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005023/1.102, allocations: 120.3 kB / 0.7193 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.102, allocations: 47.42 kB / 0.7194 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/1.102, allocations: 0 / 0.7194 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.02318/1.125, allocations: 14.78 MB / 0.7338 GB, free: 7.594 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: