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.001058/0.001058, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001183/0.001183, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.7452/0.7452, allocations: 95.62 MB / 366 MB, free: 10.3 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.0005919/0.0005919, allocations: 16.22 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4875, allocations: 70.34 MB / 0.5051 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.7245/1.212, allocations: 166.8 MB / 0.6679 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00445/1.217, allocations: 3.696 MB / 0.6716 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/1.217, allocations: 3.656 kB / 0.6716 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007108/1.218, allocations: 171.9 kB / 0.6717 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009192/1.219, allocations: 395.3 kB / 0.6721 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005985/1.225, allocations: 1.574 MB / 0.6736 GB, free: 376 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/1.227, allocations: 1.459 MB / 0.6751 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/1.227, allocations: 110.4 kB / 0.6752 GB, free: 132 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/1.23, allocations: 0.9037 MB / 0.676 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/1.231, allocations: 443 kB / 0.6765 GB, free: 0 / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.096e-05/1.231, allocations: 26.11 kB / 0.6765 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/1.235, allocations: 1.502 MB / 0.678 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/1.235, allocations: 214.8 kB / 0.6782 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/1.236, allocations: 131.9 kB / 0.6783 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/1.238, allocations: 1.336 MB / 0.6796 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.238, allocations: 0 / 0.6796 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.238, allocations: 0 / 0.6796 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.4e-05/1.238, allocations: 2.688 kB / 0.6796 GB, free: 15.65 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.002454/1.241, allocations: 0.9046 MB / 0.6805 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.241, allocations: 12.66 kB / 0.6805 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/1.241, allocations: 73.92 kB / 0.6806 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/1.242, allocations: 350.8 kB / 0.6809 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/1.242, allocations: 30.41 kB / 0.6809 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/1.242, allocations: 39.28 kB / 0.681 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/1.243, allocations: 0.5078 MB / 0.6815 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.243, allocations: 3.938 kB / 0.6815 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/1.243, allocations: 21.16 kB / 0.6815 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.243, allocations: 8.469 kB / 0.6815 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/1.244, allocations: 0.5962 MB / 0.6821 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/1.248, allocations: 2.16 MB / 0.6842 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.249, allocations: 0.5594 MB / 0.6847 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/1.249, allocations: 266.5 kB / 0.685 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/1.25, allocations: 0.6872 MB / 0.6857 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/1.25, allocations: 51.42 kB / 0.6857 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.307e-06/1.25, allocations: 0 / 0.6857 GB, free: 11.91 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.007306/1.257, allocations: 2.841 MB / 0.6885 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.258, allocations: 59.92 kB / 0.6885 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/1.258, allocations: 308.6 kB / 0.6888 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/1.258, allocations: 41.89 kB / 0.6889 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.258, allocations: 190.8 kB / 0.6891 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/1.258, allocations: 193.4 kB / 0.6892 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/1.258, allocations: 11.75 kB / 0.6893 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.259, allocations: 344.3 kB / 0.6896 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/1.259, allocations: 201 kB / 0.6898 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/1.259, allocations: 262.7 kB / 0.69 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/1.26, allocations: 244.2 kB / 0.6903 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.26, allocations: 0 / 0.6903 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001008/1.261, allocations: 0.6083 MB / 0.6908 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.261, allocations: 5.031 kB / 0.6909 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.261, allocations: 6.812 kB / 0.6909 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/1.261, allocations: 38.7 kB / 0.6909 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/1.262, allocations: 115.1 kB / 0.691 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.264, allocations: 2.616 MB / 0.6936 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/1.264, allocations: 38.89 kB / 0.6936 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/1.264, allocations: 21.39 kB / 0.6936 GB, free: 6.918 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003284/1.265, allocations: 195.4 kB / 0.6938 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.265, allocations: 41.16 kB / 0.6938 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.266, allocations: 0.6955 MB / 0.6945 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.266, allocations: 5.75 kB / 0.6945 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.266, allocations: 0 / 0.6945 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.267, allocations: 0.7756 MB / 0.6953 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/1.27, allocations: 1.391 MB / 0.6966 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.27, allocations: 0 / 0.6966 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.271, allocations: 95.69 kB / 0.6967 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/1.272, allocations: 370.8 kB / 0.6971 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/1.272, allocations: 15.25 kB / 0.6971 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006281/1.273, allocations: 0.6592 MB / 0.6977 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.273, allocations: 3.953 kB / 0.6978 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/1.275, allocations: 1.053 MB / 0.6988 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/1.276, allocations: 185.3 kB / 0.699 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.276, allocations: 18.95 kB / 0.699 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/1.276, allocations: 30.92 kB / 0.699 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/1.276, allocations: 35.05 kB / 0.699 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/1.277, allocations: 27.22 kB / 0.6991 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002835/1.277, allocations: 237.4 kB / 0.6993 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.277, allocations: 0 / 0.6993 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001171/1.278, allocations: 299.4 kB / 0.6996 GB, free: 4.215 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/1.279, allocations: 379.7 kB / 0.6999 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.281, allocations: 0.716 MB / 0.7006 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.281, allocations: 1.75 kB / 0.7006 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005178/1.281, allocations: 271.6 kB / 0.7009 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.283, allocations: 302.9 kB / 0.7012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/1.285, allocations: 1.317 MB / 0.7025 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/1.286, allocations: 0.8457 MB / 0.7033 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000676/1.287, allocations: 131.2 kB / 0.7034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/1.287, allocations: 52.41 kB / 0.7035 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/1.287, allocations: 96 / 0.7035 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of Templates: time 0.02644/1.313, allocations: 14.4 MB / 0.7175 GB, free: 7.016 MB / 0.5137 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: