Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009594, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001081/0.001081, allocations: 172.7 kB / 15.95 MB, free: 208 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.874/1.874, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.6452/0.6452, allocations: 95.62 MB / 366 MB, free: 10.33 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.000626/0.0006262, allocations: 12 kB / 446.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5057, allocations: 70.34 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.7036/1.209, allocations: 167.9 MB / 0.669 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006038/1.215, allocations: 4.15 MB / 0.6731 GB, free: 192 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/1.216, allocations: 8.953 kB / 0.6731 GB, free: 188 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/1.217, allocations: 159.1 kB / 0.6732 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/1.218, allocations: 399.3 kB / 0.6736 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00744/1.226, allocations: 1.599 MB / 0.6752 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002565/1.228, allocations: 1.437 MB / 0.6766 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/1.229, allocations: 107 kB / 0.6767 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/1.232, allocations: 0.8513 MB / 0.6775 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/1.232, allocations: 429.1 kB / 0.6779 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/1.232, allocations: 26.12 kB / 0.678 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/1.238, allocations: 1.455 MB / 0.6794 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/1.238, allocations: 202.3 kB / 0.6796 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/1.239, allocations: 139.7 kB / 0.6797 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/1.241, allocations: 1.375 MB / 0.681 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.241, allocations: 0 / 0.681 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.241, allocations: 0 / 0.681 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.241, allocations: 0 / 0.681 GB, free: 14.79 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.001946/1.243, allocations: 0.9143 MB / 0.6819 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.244, allocations: 11.92 kB / 0.6819 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/1.244, allocations: 61.78 kB / 0.682 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/1.244, allocations: 354.8 kB / 0.6823 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/1.245, allocations: 32.25 kB / 0.6824 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/1.245, allocations: 47.31 kB / 0.6824 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/1.246, allocations: 0.5461 MB / 0.683 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.246, allocations: 0 / 0.683 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/1.246, allocations: 20.53 kB / 0.683 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.246, allocations: 10.88 kB / 0.683 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/1.247, allocations: 0.5765 MB / 0.6835 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/1.25, allocations: 2.514 MB / 0.686 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009919/1.251, allocations: 462.5 kB / 0.6864 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/1.251, allocations: 226.4 kB / 0.6867 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/1.252, allocations: 0.6964 MB / 0.6873 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/1.252, allocations: 48.36 kB / 0.6874 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/1.252, allocations: 0 / 0.6874 GB, free: 10.8 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.00803/1.26, allocations: 2.592 MB / 0.6899 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.26, allocations: 67.25 kB / 0.69 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/1.261, allocations: 374.4 kB / 0.6903 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/1.261, allocations: 36.23 kB / 0.6904 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/1.261, allocations: 219.9 kB / 0.6906 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.261, allocations: 154 kB / 0.6907 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/1.261, allocations: 12.19 kB / 0.6907 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002729/1.262, allocations: 346.4 kB / 0.6911 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/1.262, allocations: 190.8 kB / 0.6912 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/1.262, allocations: 293.1 kB / 0.6915 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/1.263, allocations: 245.6 kB / 0.6918 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.263, allocations: 0 / 0.6918 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001181/1.264, allocations: 0.6195 MB / 0.6924 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.264, allocations: 4.594 kB / 0.6924 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.264, allocations: 3.312 kB / 0.6924 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/1.264, allocations: 44.77 kB / 0.6924 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/1.265, allocations: 127.5 kB / 0.6925 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.267, allocations: 2.632 MB / 0.6951 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/1.268, allocations: 32.17 kB / 0.6951 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/1.268, allocations: 27.52 kB / 0.6952 GB, free: 5.816 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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.0003083/1.268, allocations: 192 kB / 0.6954 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/1.268, allocations: 41.34 kB / 0.6954 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.269, allocations: 0.568 MB / 0.6959 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.269, allocations: 11.08 kB / 0.696 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.269, allocations: 7.891 kB / 0.696 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000765/1.27, allocations: 0.6359 MB / 0.6966 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.273, allocations: 1.599 MB / 0.6981 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.273, allocations: 2.906 kB / 0.6981 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/1.274, allocations: 178 kB / 0.6983 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.274, allocations: 8.062 kB / 0.6983 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/1.274, allocations: 12.56 kB / 0.6983 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004411/1.274, allocations: 0.6052 MB / 0.6989 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.274, allocations: 2.781 kB / 0.6989 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.275, allocations: 0.8111 MB / 0.6997 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.276, allocations: 180.3 kB / 0.6999 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/1.276, allocations: 15.98 kB / 0.6999 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/1.276, allocations: 41.91 kB / 0.7 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/1.276, allocations: 38.61 kB / 0.7 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/1.276, allocations: 31.16 kB / 0.7 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00035/1.277, allocations: 274 kB / 0.7003 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.277, allocations: 0 / 0.7003 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001214/1.278, allocations: 314.8 kB / 0.7006 GB, free: 2.758 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (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 (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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009894/1.279, allocations: 392.3 kB / 0.701 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.28, allocations: 0.6581 MB / 0.7016 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.28, allocations: 3.344 kB / 0.7016 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009931/1.281, allocations: 311.5 kB / 0.7019 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.283, allocations: 290.1 kB / 0.7022 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/1.285, allocations: 1.253 MB / 0.7034 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/1.285, allocations: 0.8467 MB / 0.7042 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006682/1.286, allocations: 128.1 kB / 0.7043 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.286, allocations: 52.89 kB / 0.7044 GB, free: 464 kB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/1.286, allocations: 0 / 0.7044 GB, free: 464 kB / 0.4981 GB Notification: Performance of Templates: time 0.02848/1.315, allocations: 13.64 MB / 0.7177 GB, free: 6.688 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1) Environment - environmentSimulation: