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.007778/0.007778, allocations: 107.9 kB / 15.74 MB, free: 6.02 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.001843/0.001843, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.4774/0.4774, allocations: 95.48 MB / 365.4 MB, free: 12.14 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.001517/0.001517, allocations: 79.89 kB / 0.5037 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4927, allocations: 69.08 MB / 0.5711 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.737/1.23, allocations: 184.7 MB / 0.7515 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005402/1.235, allocations: 4.352 MB / 0.7558 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/1.235, allocations: 8.438 kB / 0.7558 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008077/1.236, allocations: 251 kB / 0.756 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008401/1.237, allocations: 427 kB / 0.7565 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/1.243, allocations: 2.113 MB / 0.7585 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00183/1.245, allocations: 1.192 MB / 0.7597 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/1.245, allocations: 146.3 kB / 0.7598 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/1.248, allocations: 1.067 MB / 0.7609 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/1.249, allocations: 432.4 kB / 0.7613 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/1.249, allocations: 61.94 kB / 0.7613 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/1.254, allocations: 2.212 MB / 0.7635 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/1.255, allocations: 245.7 kB / 0.7637 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/1.255, allocations: 317.4 kB / 0.764 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004846/1.26, allocations: 2.099 MB / 0.7661 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.26, allocations: 0.875 kB / 0.7661 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/1.26, allocations: 1.094 kB / 0.7661 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.26, allocations: 0.875 kB / 0.7661 GB, free: 1.562 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.002491/1.263, allocations: 1.044 MB / 0.7671 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/1.263, allocations: 15.7 kB / 0.7671 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/1.263, allocations: 65.75 kB / 0.7672 GB, free: 16.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/1.264, allocations: 367.9 kB / 0.7675 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/1.264, allocations: 35.38 kB / 0.7676 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/1.264, allocations: 40.12 kB / 0.7676 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/1.265, allocations: 0.4948 MB / 0.7681 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.265, allocations: 6.641 kB / 0.7681 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.265, allocations: 16.44 kB / 0.7681 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.265, allocations: 15.22 kB / 0.7681 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/1.266, allocations: 0.5759 MB / 0.7687 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/1.269, allocations: 2.133 MB / 0.7708 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.271, allocations: 0.5457 MB / 0.7713 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/1.271, allocations: 252.8 kB / 0.7715 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/1.272, allocations: 0.6942 MB / 0.7722 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.272, allocations: 47.09 kB / 0.7723 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=52): time 3.607e-06/1.272, allocations: 0 / 0.7723 GB, free: 14.56 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.007646/1.279, allocations: 2.747 MB / 0.7749 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.279, allocations: 57.72 kB / 0.775 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/1.28, allocations: 319.5 kB / 0.7753 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/1.28, allocations: 36.05 kB / 0.7753 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/1.28, allocations: 199.9 kB / 0.7755 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.28, allocations: 196.6 kB / 0.7757 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.28, allocations: 107.3 kB / 0.7758 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.28, allocations: 346.6 kB / 0.7762 GB, free: 13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.281, allocations: 198.3 kB / 0.7763 GB, free: 13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/1.281, allocations: 277.1 kB / 0.7766 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/1.282, allocations: 0.5005 MB / 0.7771 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.282, allocations: 1.969 kB / 0.7771 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001019/1.283, allocations: 0.6132 MB / 0.7777 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.283, allocations: 6.875 kB / 0.7777 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.283, allocations: 4.594 kB / 0.7777 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/1.283, allocations: 48.91 kB / 0.7778 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/1.284, allocations: 121.2 kB / 0.7779 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/1.287, allocations: 2.836 MB / 0.7806 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/1.287, allocations: 17.44 kB / 0.7807 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/1.287, allocations: 19.88 kB / 0.7807 GB, free: 10.07 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.0003416/1.288, allocations: 192.9 kB / 0.7809 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/1.288, allocations: 46.31 kB / 0.7809 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.289, allocations: 0.6364 MB / 0.7815 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.289, allocations: 4.844 kB / 0.7815 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.289, allocations: 0.7188 kB / 0.7815 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/1.29, allocations: 0.7235 MB / 0.7822 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/1.292, allocations: 1.211 MB / 0.7834 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.292, allocations: 0.7188 kB / 0.7834 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.293, allocations: 201.7 kB / 0.7836 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.293, allocations: 5.938 kB / 0.7836 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/1.294, allocations: 16.03 kB / 0.7836 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004771/1.294, allocations: 0.5905 MB / 0.7842 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.294, allocations: 6.969 kB / 0.7842 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/1.295, allocations: 0.8684 MB / 0.7851 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/1.296, allocations: 185 kB / 0.7852 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/1.296, allocations: 13.42 kB / 0.7853 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/1.296, allocations: 22.48 kB / 0.7853 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/1.296, allocations: 41.78 kB / 0.7853 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/1.297, allocations: 28.06 kB / 0.7853 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003563/1.297, allocations: 239.8 kB / 0.7856 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/1.297, allocations: 0 / 0.7856 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00143/1.298, allocations: 321 kB / 0.7859 GB, free: 8.141 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.0009819/1.299, allocations: 418.2 kB / 0.7863 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.301, allocations: 0.7176 MB / 0.787 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.301, allocations: 0 / 0.787 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.302, allocations: 351.6 kB / 0.7873 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.303, allocations: 300.3 kB / 0.7876 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/1.305, allocations: 1.13 MB / 0.7887 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/1.306, allocations: 0.8465 MB / 0.7895 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005777/1.306, allocations: 127.7 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/1.306, allocations: 53.38 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/1.306, allocations: 0 / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.02618/1.333, allocations: 15.27 MB / 0.8046 GB, free: 3.414 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)