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.001539/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001594/0.001594, allocations: 197 kB / 16.14 MB, free: 6.703 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.642/1.642, allocations: 205.1 MB / 222 MB, free: 4.984 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.6076/0.6076, allocations: 95.47 MB / 364.8 MB, free: 10.18 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.001763/0.001763, allocations: 67.91 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4179, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.5722/0.9902, allocations: 183 MB / 0.6804 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005397/0.9957, allocations: 4.518 MB / 0.6849 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.996, allocations: 10.75 kB / 0.6849 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.9968, allocations: 224.1 kB / 0.6851 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007794/0.9976, allocations: 411.5 kB / 0.6855 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006216/1.004, allocations: 1.94 MB / 0.6874 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001635/1.005, allocations: 1.734 MB / 0.6891 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/1.006, allocations: 125.8 kB / 0.6892 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/1.008, allocations: 0.9468 MB / 0.6901 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/1.009, allocations: 453.3 kB / 0.6905 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/1.009, allocations: 27.66 kB / 0.6906 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/1.013, allocations: 2.237 MB / 0.6927 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/1.014, allocations: 208 kB / 0.6929 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/1.014, allocations: 292.2 kB / 0.6932 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/1.018, allocations: 2.154 MB / 0.6953 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.018, allocations: 1.812 kB / 0.6953 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/1.018, allocations: 0 / 0.6953 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.018, allocations: 3.938 kB / 0.6953 GB, free: 6.68 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.002223/1.02, allocations: 1.028 MB / 0.6963 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.02, allocations: 13.89 kB / 0.6963 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/1.021, allocations: 56.61 kB / 0.6964 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/1.021, allocations: 358 kB / 0.6967 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/1.021, allocations: 29.72 kB / 0.6968 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/1.021, allocations: 43.25 kB / 0.6968 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/1.022, allocations: 0.5603 MB / 0.6974 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.022, allocations: 0 / 0.6974 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/1.022, allocations: 22.06 kB / 0.6974 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.022, allocations: 10.12 kB / 0.6974 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00082/1.023, allocations: 0.5755 MB / 0.698 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/1.027, allocations: 2.501 MB / 0.7004 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.028, allocations: 458.9 kB / 0.7008 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/1.028, allocations: 220.5 kB / 0.701 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/1.029, allocations: 0.6956 MB / 0.7017 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.029, allocations: 40.34 kB / 0.7018 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/1.029, allocations: 0 / 0.7018 GB, free: 2.391 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.00813/1.037, allocations: 2.542 MB / 0.7042 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.037, allocations: 59.7 kB / 0.7043 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/1.037, allocations: 365.5 kB / 0.7047 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.037, allocations: 44.25 kB / 0.7047 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/1.038, allocations: 226.2 kB / 0.7049 GB, free: 244 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.038, allocations: 157.2 kB / 0.7051 GB, free: 108 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.038, allocations: 111.5 kB / 0.7052 GB, free: 36 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.038, allocations: 346.4 kB / 0.7055 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/1.038, allocations: 198.8 kB / 0.7057 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/1.039, allocations: 305.3 kB / 0.706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/1.039, allocations: 491.6 kB / 0.7064 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.039, allocations: 6 kB / 0.7065 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001083/1.041, allocations: 0.6237 MB / 0.7071 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.041, allocations: 7.25 kB / 0.7071 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.041, allocations: 2.812 kB / 0.7071 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/1.041, allocations: 45.97 kB / 0.7071 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/1.041, allocations: 123.4 kB / 0.7072 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/1.044, allocations: 2.635 MB / 0.7098 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.044, allocations: 43.34 kB / 0.7098 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/1.044, allocations: 20.88 kB / 0.7099 GB, free: 11.92 MB / 0.5137 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 (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.0003642/1.045, allocations: 196.5 kB / 0.7101 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.045, allocations: 41.88 kB / 0.7101 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.046, allocations: 0.5672 MB / 0.7106 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.046, allocations: 5.281 kB / 0.7107 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/1.046, allocations: 0 / 0.7107 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007482/1.047, allocations: 0.6402 MB / 0.7113 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/1.049, allocations: 1.601 MB / 0.7128 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.049, allocations: 2.812 kB / 0.7128 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/1.05, allocations: 179.6 kB / 0.713 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.05, allocations: 9.625 kB / 0.713 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.05, allocations: 15.33 kB / 0.713 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003157/1.05, allocations: 0.5981 MB / 0.7136 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.05, allocations: 6.188 kB / 0.7136 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.051, allocations: 0.8163 MB / 0.7144 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/1.052, allocations: 184.6 kB / 0.7146 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/1.052, allocations: 23.91 kB / 0.7146 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/1.052, allocations: 39.81 kB / 0.7147 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/1.052, allocations: 39.97 kB / 0.7147 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/1.053, allocations: 31.91 kB / 0.7147 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003402/1.053, allocations: 275 kB / 0.715 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 0.715 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001185/1.054, allocations: 315.8 kB / 0.7153 GB, free: 7.293 MB / 0.5137 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 (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.0008046/1.055, allocations: 401.9 kB / 0.7157 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001065/1.056, allocations: 0.6633 MB / 0.7163 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.056, allocations: 11.94 kB / 0.7163 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.057, allocations: 301.8 kB / 0.7166 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.059, allocations: 285.7 kB / 0.7169 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.061, allocations: 1.217 MB / 0.7181 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.061, allocations: 0.8516 MB / 0.7189 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005674/1.062, allocations: 120.5 kB / 0.719 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.062, allocations: 55.42 kB / 0.7191 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/1.062, allocations: 0 / 0.7191 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of Templates: time 0.02293/1.085, allocations: 14.12 MB / 0.7329 GB, free: 5.297 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (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)