Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, 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.001813/0.001813, allocations: 196.5 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.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.727 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.6551/0.6551, allocations: 95.48 MB / 364.8 MB, free: 10.11 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.002499/0.002499, allocations: 67.91 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4212, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.5363/0.9575, allocations: 180.2 MB / 0.6777 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.9612, allocations: 3.166 MB / 0.6808 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.9615, allocations: 2.812 kB / 0.6808 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.9623, allocations: 221 kB / 0.681 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.963, allocations: 410.4 kB / 0.6814 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.9664, allocations: 1.226 MB / 0.6826 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.9686, allocations: 1.703 MB / 0.6842 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.969, allocations: 125.8 kB / 0.6844 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.9713, allocations: 0.802 MB / 0.6851 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.9719, allocations: 441.9 kB / 0.6856 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.972, allocations: 29.97 kB / 0.6856 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.9747, allocations: 1.436 MB / 0.687 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.975, allocations: 203.4 kB / 0.6872 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.9753, allocations: 281.5 kB / 0.6875 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.9775, allocations: 1.552 MB / 0.689 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.9776, allocations: 0 / 0.689 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9776, allocations: 0 / 0.689 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9776, allocations: 5.031 kB / 0.689 GB, free: 8.312 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.001681/0.9793, allocations: 0.8983 MB / 0.6899 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9793, allocations: 14.05 kB / 0.6899 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.9796, allocations: 59.86 kB / 0.6899 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.9801, allocations: 351.3 kB / 0.6903 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.9801, allocations: 40.12 kB / 0.6903 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.9802, allocations: 41.47 kB / 0.6903 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.981, allocations: 0.5323 MB / 0.6909 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.9811, allocations: 3.297 kB / 0.6909 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.9811, allocations: 19.03 kB / 0.6909 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.9811, allocations: 9.562 kB / 0.6909 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.9819, allocations: 0.5589 MB / 0.6914 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.9856, allocations: 2.528 MB / 0.6939 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.9864, allocations: 342.8 kB / 0.6942 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.9867, allocations: 177 kB / 0.6944 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009832/0.9877, allocations: 0.8804 MB / 0.6953 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.9877, allocations: 37.53 kB / 0.6953 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.9877, allocations: 0 / 0.6953 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.00447/0.9922, allocations: 1.71 MB / 0.697 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.9923, allocations: 61.45 kB / 0.697 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.9927, allocations: 389.3 kB / 0.6974 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.9928, allocations: 35.2 kB / 0.6974 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.993, allocations: 238.4 kB / 0.6977 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.9931, allocations: 142.2 kB / 0.6978 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.9933, allocations: 110.6 kB / 0.6979 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9934, allocations: 347.1 kB / 0.6982 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.9937, allocations: 186.7 kB / 0.6984 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.9941, allocations: 287.2 kB / 0.6987 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.9947, allocations: 477.5 kB / 0.6991 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9947, allocations: 2.812 kB / 0.6991 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009351/0.9956, allocations: 0.6041 MB / 0.6997 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9957, allocations: 9.875 kB / 0.6997 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9957, allocations: 2.312 kB / 0.6997 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.9958, allocations: 44.92 kB / 0.6998 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.9964, allocations: 130.8 kB / 0.6999 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.9986, allocations: 2.636 MB / 0.7025 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.9991, allocations: 37.11 kB / 0.7025 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.9992, allocations: 22 kB / 0.7025 GB, free: 15.26 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002812/0.9995, allocations: 199 kB / 0.7027 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.9996, allocations: 42.47 kB / 0.7028 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009454/1.001, allocations: 0.5024 MB / 0.7033 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.001, allocations: 4.719 kB / 0.7033 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.001, allocations: 3.938 kB / 0.7033 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007872/1.001, allocations: 0.6169 MB / 0.7039 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/1.004, allocations: 1.646 MB / 0.7055 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.004, allocations: 2.031 kB / 0.7055 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/1.004, allocations: 96.62 kB / 0.7056 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.004, allocations: 4.625 kB / 0.7056 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/1.004, allocations: 16.08 kB / 0.7056 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.004, allocations: 4.562 kB / 0.7056 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.004, allocations: 6.844 kB / 0.7056 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.005, allocations: 0.7441 MB / 0.7063 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.006, allocations: 177.4 kB / 0.7065 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/1.006, allocations: 8.719 kB / 0.7065 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/1.006, allocations: 42.02 kB / 0.7066 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/1.006, allocations: 38.45 kB / 0.7066 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.006, allocations: 25.8 kB / 0.7066 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003187/1.007, allocations: 296.5 kB / 0.7069 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/1.007, allocations: 0 / 0.7069 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001019/1.008, allocations: 273.3 kB / 0.7072 GB, free: 11.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (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 (45): * Single equations (assignments): 45 * 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.0006345/1.008, allocations: 322.7 kB / 0.7075 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.009, allocations: 0.6476 MB / 0.7081 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.01, allocations: 0 / 0.7081 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/1.01, allocations: 191.5 kB / 0.7083 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.011, allocations: 269.5 kB / 0.7085 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.013, allocations: 1.214 MB / 0.7097 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/1.014, allocations: 0.8445 MB / 0.7105 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005416/1.014, allocations: 124.9 kB / 0.7107 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.014, allocations: 46.55 kB / 0.7107 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of SimCode: time 2.175e-06/1.014, allocations: 0 / 0.7107 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of Templates: time 0.0201/1.034, allocations: 12.75 MB / 0.7232 GB, free: 13.66 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1)