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.0009313/0.0009314, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001092/0.001092, allocations: 168.7 kB / 15.95 MB, free: 204 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.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.367 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.7347/0.7347, allocations: 95.63 MB / 366 MB, free: 10.31 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.0006848/0.0006849, allocations: 16 kB / 446.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4377, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.6892/1.127, allocations: 165.4 MB / 0.6666 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/1.131, allocations: 2.92 MB / 0.6695 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/1.132, allocations: 4.781 kB / 0.6695 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007948/1.132, allocations: 171.4 kB / 0.6696 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000962/1.133, allocations: 393.6 kB / 0.67 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003513/1.137, allocations: 0.9147 MB / 0.6709 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/1.139, allocations: 1.422 MB / 0.6723 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/1.139, allocations: 114.5 kB / 0.6724 GB, free: 128 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/1.141, allocations: 0.6993 MB / 0.6731 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007878/1.142, allocations: 426 kB / 0.6735 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/1.142, allocations: 26.06 kB / 0.6735 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/1.145, allocations: 0.7597 MB / 0.6742 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/1.145, allocations: 200.2 kB / 0.6744 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/1.145, allocations: 129.2 kB / 0.6746 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/1.146, allocations: 0.9792 MB / 0.6755 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.146, allocations: 0 / 0.6755 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/1.146, allocations: 0 / 0.6755 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.146, allocations: 0 / 0.6755 GB, free: 15.8 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001579/1.148, allocations: 0.7902 MB / 0.6763 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.148, allocations: 17.95 kB / 0.6763 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/1.148, allocations: 58.17 kB / 0.6764 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/1.149, allocations: 350.6 kB / 0.6767 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/1.149, allocations: 34.84 kB / 0.6767 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/1.149, allocations: 41.12 kB / 0.6768 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/1.15, allocations: 484.7 kB / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.15, allocations: 0 / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/1.15, allocations: 21.97 kB / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.15, allocations: 11.22 kB / 0.6773 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/1.151, allocations: 0.5475 MB / 0.6778 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/1.154, allocations: 2.186 MB / 0.6799 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/1.155, allocations: 424.8 kB / 0.6803 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/1.155, allocations: 217.3 kB / 0.6805 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/1.156, allocations: 0.8822 MB / 0.6814 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.156, allocations: 43.5 kB / 0.6814 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.635e-06/1.156, allocations: 1.969 kB / 0.6814 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.0043/1.16, allocations: 1.877 MB / 0.6833 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.16, allocations: 58.31 kB / 0.6833 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/1.161, allocations: 320.9 kB / 0.6836 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/1.161, allocations: 35.45 kB / 0.6837 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.161, allocations: 199.7 kB / 0.6839 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.161, allocations: 177.2 kB / 0.684 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/1.161, allocations: 11.06 kB / 0.684 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.161, allocations: 356.7 kB / 0.6844 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/1.161, allocations: 190.9 kB / 0.6846 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/1.162, allocations: 270.2 kB / 0.6848 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.162, allocations: 236 kB / 0.685 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.162, allocations: 0 / 0.685 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008632/1.163, allocations: 0.5985 MB / 0.6856 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.163, allocations: 3.531 kB / 0.6856 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.163, allocations: 1.75 kB / 0.6856 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/1.163, allocations: 52.22 kB / 0.6857 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/1.164, allocations: 129.1 kB / 0.6858 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.166, allocations: 2.634 MB / 0.6884 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/1.166, allocations: 38.19 kB / 0.6884 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/1.166, allocations: 24.58 kB / 0.6884 GB, free: 7.754 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.0003002/1.167, allocations: 186.1 kB / 0.6886 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/1.167, allocations: 46.03 kB / 0.6887 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.168, allocations: 0.6162 MB / 0.6893 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.168, allocations: 8.031 kB / 0.6893 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/1.168, allocations: 0 / 0.6893 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007931/1.169, allocations: 0.7003 MB / 0.69 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/1.17, allocations: 1.241 MB / 0.6912 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.17, allocations: 3.938 kB / 0.6912 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/1.171, allocations: 123.2 kB / 0.6913 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.171, allocations: 10.66 kB / 0.6913 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/1.171, allocations: 13.72 kB / 0.6913 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/1.171, allocations: 2.938 kB / 0.6913 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.171, allocations: 2.844 kB / 0.6913 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.172, allocations: 0.8495 MB / 0.6921 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/1.173, allocations: 187.2 kB / 0.6923 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/1.173, allocations: 20.27 kB / 0.6923 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/1.173, allocations: 29.98 kB / 0.6924 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/1.173, allocations: 36.11 kB / 0.6924 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/1.173, allocations: 29.34 kB / 0.6924 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002678/1.174, allocations: 241.7 kB / 0.6927 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.174, allocations: 3.312 kB / 0.6927 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009382/1.174, allocations: 271.8 kB / 0.6929 GB, free: 5.836 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.0006159/1.175, allocations: 311.3 kB / 0.6932 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.176, allocations: 0.6985 MB / 0.6939 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.176, allocations: 7.062 kB / 0.6939 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/1.177, allocations: 246.2 kB / 0.6941 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/1.178, allocations: 284.1 kB / 0.6944 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/1.18, allocations: 1.361 MB / 0.6958 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/1.181, allocations: 0.8456 MB / 0.6966 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006392/1.181, allocations: 133.3 kB / 0.6967 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/1.181, allocations: 51.58 kB / 0.6968 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/1.181, allocations: 0 / 0.6968 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of Templates: time 0.02419/1.206, allocations: 12.91 MB / 0.7094 GB, free: 12.81 MB / 0.5137 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: