Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004903/0.004903, allocations: 104.3 kB / 15.74 MB, free: 5.598 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.00103/0.00103, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4823/0.4823, allocations: 95.49 MB / 365.4 MB, free: 12.15 MB / 318.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.00173/0.00173, allocations: 63.91 kB / 0.5037 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5339, allocations: 69.09 MB / 0.5711 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.7307/1.265, allocations: 184.7 MB / 0.7515 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005633/1.27, allocations: 4.351 MB / 0.7558 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/1.271, allocations: 4 kB / 0.7558 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008882/1.272, allocations: 253.3 kB / 0.756 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007911/1.272, allocations: 420.1 kB / 0.7564 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006471/1.279, allocations: 2.123 MB / 0.7585 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002457/1.281, allocations: 1.191 MB / 0.7597 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/1.282, allocations: 148.5 kB / 0.7598 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/1.286, allocations: 1.069 MB / 0.7609 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/1.286, allocations: 435.2 kB / 0.7613 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/1.286, allocations: 61.47 kB / 0.7613 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/1.292, allocations: 2.215 MB / 0.7635 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/1.292, allocations: 238.1 kB / 0.7637 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/1.293, allocations: 323.9 kB / 0.764 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/1.297, allocations: 2.083 MB / 0.7661 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.297, allocations: 0 / 0.7661 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.344e-06/1.297, allocations: 0 / 0.7661 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.297, allocations: 4.625 kB / 0.7661 GB, free: 1.578 MB / 0.5919 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.002137/1.299, allocations: 1.024 MB / 0.7671 GB, free: 16.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.299, allocations: 13.42 kB / 0.7671 GB, free: 16.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/1.299, allocations: 65.78 kB / 0.7671 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/1.3, allocations: 361.5 kB / 0.7675 GB, free: 16.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/1.3, allocations: 33.83 kB / 0.7675 GB, free: 16.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/1.3, allocations: 43.59 kB / 0.7676 GB, free: 16.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008564/1.301, allocations: 0.4943 MB / 0.7681 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.301, allocations: 4.625 kB / 0.7681 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/1.301, allocations: 19.03 kB / 0.7681 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/1.301, allocations: 15.62 kB / 0.7681 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/1.302, allocations: 0.5704 MB / 0.7686 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/1.305, allocations: 2.139 MB / 0.7707 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.306, allocations: 0.5402 MB / 0.7713 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/1.306, allocations: 255.7 kB / 0.7715 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/1.307, allocations: 0.6945 MB / 0.7722 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.307, allocations: 44.5 kB / 0.7722 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=52): time 3.978e-06/1.307, allocations: 0 / 0.7722 GB, free: 14.61 MB / 0.6075 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.007442/1.314, allocations: 2.742 MB / 0.7749 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.315, allocations: 58.25 kB / 0.775 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/1.315, allocations: 314.5 kB / 0.7753 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/1.315, allocations: 38.89 kB / 0.7753 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.315, allocations: 198.6 kB / 0.7755 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.315, allocations: 186.7 kB / 0.7757 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.315, allocations: 110.6 kB / 0.7758 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.316, allocations: 347.1 kB / 0.7761 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/1.316, allocations: 195.6 kB / 0.7763 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/1.316, allocations: 272.2 kB / 0.7765 GB, free: 13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/1.317, allocations: 0.5007 MB / 0.777 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.317, allocations: 3.75 kB / 0.777 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009422/1.318, allocations: 0.6192 MB / 0.7776 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.318, allocations: 3.625 kB / 0.7776 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.318, allocations: 2.094 kB / 0.7776 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/1.318, allocations: 50.45 kB / 0.7777 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/1.319, allocations: 123.3 kB / 0.7778 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.321, allocations: 2.826 MB / 0.7806 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/1.321, allocations: 16.5 kB / 0.7806 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/1.321, allocations: 21.28 kB / 0.7806 GB, free: 10.14 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (66): * Single equations (assignments): 64 * 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.0002345/1.321, allocations: 196.4 kB / 0.7808 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.322, allocations: 43.31 kB / 0.7808 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.323, allocations: 0.6378 MB / 0.7815 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.323, allocations: 5.938 kB / 0.7815 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.323, allocations: 4.859 kB / 0.7815 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007902/1.323, allocations: 0.7207 MB / 0.7822 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.325, allocations: 1.208 MB / 0.7834 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.325, allocations: 4.688 kB / 0.7834 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.326, allocations: 200.8 kB / 0.7836 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.326, allocations: 2.969 kB / 0.7836 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.326, allocations: 17.47 kB / 0.7836 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/1.327, allocations: 0.5929 MB / 0.7842 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.327, allocations: 4.688 kB / 0.7842 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.328, allocations: 0.8678 MB / 0.785 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/1.328, allocations: 182.3 kB / 0.7852 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/1.328, allocations: 14.16 kB / 0.7852 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/1.329, allocations: 23.12 kB / 0.7852 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/1.329, allocations: 40.48 kB / 0.7853 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/1.329, allocations: 22.62 kB / 0.7853 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002346/1.329, allocations: 248.1 kB / 0.7855 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.329, allocations: 1.156 kB / 0.7855 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009791/1.33, allocations: 314 kB / 0.7858 GB, free: 8.215 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.U) * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007439/1.331, allocations: 395.4 kB / 0.7862 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.332, allocations: 0.724 MB / 0.7869 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.332, allocations: 0 / 0.7869 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.333, allocations: 348.7 kB / 0.7872 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.334, allocations: 308.1 kB / 0.7875 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/1.336, allocations: 1.112 MB / 0.7886 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.336, allocations: 0.8448 MB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004527/1.337, allocations: 127.9 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.337, allocations: 54.47 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/1.337, allocations: 4.297 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.02507/1.362, allocations: 15.45 MB / 0.8047 GB, free: 3.395 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)