Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.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.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001207, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001421/0.001421, allocations: 177.3 kB / 15.94 MB, free: 228 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.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.5574/0.5574, allocations: 95.58 MB / 366 MB, free: 10.38 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.0005735/0.0005739, allocations: 12 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3043, allocations: 70.33 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.4594/0.7638, allocations: 144.4 MB / 0.646 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.767, allocations: 2.61 MB / 0.6486 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.7673, allocations: 5.938 kB / 0.6486 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006685/0.768, allocations: 191.3 kB / 0.6488 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.7686, allocations: 276.3 kB / 0.649 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.7706, allocations: 0.7035 MB / 0.6497 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008582/0.7714, allocations: 0.6191 MB / 0.6503 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.7717, allocations: 109.2 kB / 0.6504 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.7731, allocations: 0.5847 MB / 0.651 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.7736, allocations: 282 kB / 0.6513 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.7737, allocations: 23.66 kB / 0.6513 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.775, allocations: 0.5891 MB / 0.6519 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.7752, allocations: 187.6 kB / 0.652 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.7753, allocations: 135.3 kB / 0.6522 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.7765, allocations: 0.8378 MB / 0.653 GB, free: 1.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7766, allocations: 0 / 0.653 GB, free: 1.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7766, allocations: 0 / 0.653 GB, free: 1.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.7766, allocations: 2.562 kB / 0.653 GB, free: 1.465 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001509/0.7781, allocations: 0.7449 MB / 0.6537 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.7782, allocations: 12.08 kB / 0.6537 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.7785, allocations: 62.38 kB / 0.6538 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.779, allocations: 352.3 kB / 0.6541 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.779, allocations: 28.12 kB / 0.6541 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.7791, allocations: 43.88 kB / 0.6542 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.7798, allocations: 483.1 kB / 0.6546 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.7798, allocations: 0 / 0.6546 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.7799, allocations: 19.81 kB / 0.6547 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.7799, allocations: 12.81 kB / 0.6547 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.7806, allocations: 0.5434 MB / 0.6552 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.7835, allocations: 2.183 MB / 0.6573 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.7842, allocations: 416.5 kB / 0.6577 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/0.785, allocations: 0.878 MB / 0.6586 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.7851, allocations: 43.39 kB / 0.6586 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/0.7851, allocations: 4 kB / 0.6586 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.004157/0.7892, allocations: 1.878 MB / 0.6605 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.7893, allocations: 56.72 kB / 0.6605 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.7896, allocations: 324.5 kB / 0.6608 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.7897, allocations: 41.14 kB / 0.6609 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7898, allocations: 188.2 kB / 0.6611 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.7899, allocations: 182.1 kB / 0.6612 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.7899, allocations: 12.19 kB / 0.6612 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.79, allocations: 347.9 kB / 0.6616 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.7903, allocations: 190.6 kB / 0.6618 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.7906, allocations: 271 kB / 0.662 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.7909, allocations: 233 kB / 0.6622 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7909, allocations: 3.938 kB / 0.6622 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008643/0.7918, allocations: 0.6062 MB / 0.6628 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7918, allocations: 9.672 kB / 0.6628 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7918, allocations: 0 / 0.6628 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.792, allocations: 47.98 kB / 0.6629 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.7926, allocations: 125.6 kB / 0.663 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.7944, allocations: 2.642 MB / 0.6656 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.7949, allocations: 49.95 kB / 0.6656 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.7949, allocations: 25.25 kB / 0.6657 GB, free: 10.25 MB / 0.4981 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 (63): * Single equations (assignments): 61 * 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.0002378/0.7952, allocations: 185.1 kB / 0.6658 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.7953, allocations: 41.41 kB / 0.6659 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009519/0.7962, allocations: 0.6221 MB / 0.6665 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7962, allocations: 7.875 kB / 0.6665 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.7962, allocations: 0 / 0.6665 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007129/0.797, allocations: 0.6954 MB / 0.6672 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.7987, allocations: 1.24 MB / 0.6684 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7987, allocations: 6.797 kB / 0.6684 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.7993, allocations: 126.1 kB / 0.6685 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.7993, allocations: 2.625 kB / 0.6685 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.7994, allocations: 12.84 kB / 0.6685 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7994, allocations: 5.516 kB / 0.6685 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7994, allocations: 2.906 kB / 0.6685 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8004, allocations: 0.8935 MB / 0.6694 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.8008, allocations: 188.5 kB / 0.6696 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.8008, allocations: 9.625 kB / 0.6696 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.8013, allocations: 35.66 kB / 0.6696 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.8014, allocations: 43.56 kB / 0.6697 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.8014, allocations: 27.97 kB / 0.6697 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002545/0.8017, allocations: 244.2 kB / 0.6699 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.8017, allocations: 0 / 0.6699 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009032/0.8026, allocations: 275.3 kB / 0.6702 GB, free: 8.812 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005377/0.8031, allocations: 314.5 kB / 0.6705 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009197/0.8041, allocations: 0.7018 MB / 0.6712 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8041, allocations: 4.062 kB / 0.6712 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.8044, allocations: 245.5 kB / 0.6714 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.8057, allocations: 275.1 kB / 0.6717 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.8078, allocations: 1.362 MB / 0.673 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.8082, allocations: 0.8526 MB / 0.6738 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005935/0.8088, allocations: 132 kB / 0.674 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.809, allocations: 50 kB / 0.674 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.809, allocations: 2.906 kB / 0.674 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.01976/0.8288, allocations: 12.92 MB / 0.6866 GB, free: 1.465 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe 2>&1) Environment - environmentSimulation: