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.0008815/0.0008815, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006434/0.006434, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.638/1.638, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.6088/0.6088, allocations: 95.64 MB / 366.4 MB, free: 10.3 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.0005535/0.0005537, allocations: 12.7 kB / 447.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4008, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.6458/1.047, allocations: 177.5 MB / 0.679 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00455/1.051, allocations: 3.087 MB / 0.682 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/1.052, allocations: 4.906 kB / 0.682 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/1.054, allocations: 227.2 kB / 0.6822 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/1.055, allocations: 406.6 kB / 0.6826 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006359/1.062, allocations: 1.203 MB / 0.6838 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00275/1.065, allocations: 1.712 MB / 0.6855 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/1.065, allocations: 126.9 kB / 0.6856 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/1.068, allocations: 0.7914 MB / 0.6864 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/1.069, allocations: 423.4 kB / 0.6868 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/1.069, allocations: 28.62 kB / 0.6868 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/1.073, allocations: 1.43 MB / 0.6882 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/1.073, allocations: 203.6 kB / 0.6884 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004592/1.074, allocations: 302.4 kB / 0.6887 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/1.076, allocations: 1.516 MB / 0.6901 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.077, allocations: 0 / 0.6901 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.077, allocations: 0 / 0.6901 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.077, allocations: 0 / 0.6901 GB, free: 8.031 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.001788/1.078, allocations: 0.7827 MB / 0.6909 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.078, allocations: 19.3 kB / 0.6909 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/1.079, allocations: 61.55 kB / 0.691 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/1.079, allocations: 346.3 kB / 0.6913 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/1.079, allocations: 32.22 kB / 0.6913 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/1.079, allocations: 42.41 kB / 0.6914 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/1.08, allocations: 488 kB / 0.6919 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.08, allocations: 7.922 kB / 0.6919 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/1.08, allocations: 23.94 kB / 0.6919 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.08, allocations: 8.688 kB / 0.6919 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/1.081, allocations: 0.554 MB / 0.6924 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/1.085, allocations: 2.182 MB / 0.6946 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/1.085, allocations: 410.8 kB / 0.695 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/1.086, allocations: 226.8 kB / 0.6952 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.087, allocations: 0.8804 MB / 0.696 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.087, allocations: 42.73 kB / 0.6961 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 3.216e-06/1.087, allocations: 0 / 0.6961 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.004901/1.092, allocations: 1.883 MB / 0.6979 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.092, allocations: 54.69 kB / 0.698 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/1.093, allocations: 329.2 kB / 0.6983 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/1.093, allocations: 41.98 kB / 0.6983 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.093, allocations: 201.2 kB / 0.6985 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.093, allocations: 181.4 kB / 0.6987 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/1.093, allocations: 45.94 kB / 0.6987 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.093, allocations: 348.2 kB / 0.6991 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/1.094, allocations: 194 kB / 0.6992 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/1.094, allocations: 273.1 kB / 0.6995 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/1.095, allocations: 0.4893 MB / 0.7 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.095, allocations: 4 kB / 0.7 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009878/1.096, allocations: 0.6039 MB / 0.7006 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.096, allocations: 7.781 kB / 0.7006 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.096, allocations: 2.906 kB / 0.7006 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/1.096, allocations: 39.83 kB / 0.7006 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/1.097, allocations: 138.2 kB / 0.7008 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/1.099, allocations: 2.624 MB / 0.7033 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/1.1, allocations: 42.28 kB / 0.7034 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/1.1, allocations: 24.39 kB / 0.7034 GB, free: 15.41 MB / 0.5137 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 (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.000307/1.1, allocations: 187.3 kB / 0.7036 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.1, allocations: 49.78 kB / 0.7036 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.102, allocations: 0.6144 MB / 0.7042 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.102, allocations: 14.02 kB / 0.7042 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.102, allocations: 0 / 0.7042 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008764/1.103, allocations: 0.6944 MB / 0.7049 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.105, allocations: 1.244 MB / 0.7061 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.105, allocations: 2.906 kB / 0.7061 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/1.105, allocations: 117.1 kB / 0.7062 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.105, allocations: 2.625 kB / 0.7062 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/1.105, allocations: 17.05 kB / 0.7062 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.105, allocations: 2.969 kB / 0.7062 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.105, allocations: 10.88 kB / 0.7063 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.106, allocations: 0.8448 MB / 0.7071 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/1.107, allocations: 193 kB / 0.7073 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/1.107, allocations: 10.31 kB / 0.7073 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/1.107, allocations: 39.23 kB / 0.7073 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/1.107, allocations: 36.52 kB / 0.7073 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/1.107, allocations: 24.36 kB / 0.7074 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003011/1.108, allocations: 254 kB / 0.7076 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.108, allocations: 3 kB / 0.7076 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001103/1.109, allocations: 279.2 kB / 0.7079 GB, free: 13.44 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007115/1.11, allocations: 328.1 kB / 0.7082 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.111, allocations: 0.6986 MB / 0.7089 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.111, allocations: 2.234 kB / 0.7089 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/1.111, allocations: 255.8 kB / 0.7091 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.113, allocations: 274.4 kB / 0.7094 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.115, allocations: 1.405 MB / 0.7108 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/1.116, allocations: 0.8448 MB / 0.7116 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005909/1.116, allocations: 134.5 kB / 0.7117 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.116, allocations: 49.08 kB / 0.7118 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/1.116, allocations: 0 / 0.7118 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.02577/1.142, allocations: 13.26 MB / 0.7247 GB, free: 15.99 MB / 0.5294 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: